Demonic Posted March 9, 2008 Share Posted March 9, 2008 case self::E_SQL: $this->E_MSG = "Error Type::" . self::E_SQL . "::Sql error has occurred::";//line 15 break; Fatal error: Using $this when not in object context in C:\xampp\htdocs\nevux\testlounge\nbbError.php on line 15 Code: http://example.cleanscript.com/yeah.phps I personally don't see any errors in my code, but I get this error some how. Quote Link to comment Share on other sites More sharing options...
Demonic Posted March 9, 2008 Author Share Posted March 9, 2008 nvm I was calling the class staticly and that function was using $this which I couldn't do. Thanks me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.