PHP Classes

Counterstrike give an error! Fatal error: Using $this when no...

Recommend this page to a friend!

      gameserver.class.inc  >  All threads  >  Counterstrike give an error! Fatal...  >  (Un) Subscribe thread alerts  
Subject:Counterstrike give an error! Fatal...
Summary:Package rating comment
Messages:2
Author:Nico
Date:2009-06-13 13:57:10
Update:2009-06-20 05:57:56
 

Nico rated this package as follows:

Utility: Bad
Consistency: Bad
Examples: Bad

  1. Counterstrike give an error! Fatal...   Reply   Report abuse  
Picture of Nico Nico - 2009-06-13 13:57:10
Counterstrike give an error! Fatal error: Using $this when not in object context in .../gameserver.class.inc on line 501

  2. Re: Counterstrike give an error! Fatal...   Reply   Report abuse  
Picture of Steffen Stollfuß Steffen Stollfuß - 2009-06-20 05:57:56 - In reply to message 1 from Nico
Hi,

Can you please post the code here to reproduce this bug ???

I think you don't instance the class and call the _get_hl_.... function statically. So this isn't supported and will produce this error.

regards
j0inty