Jump to content

"$this->" Not in object context?


Demonic

Recommended Posts

		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.

Link to comment
https://forums.phpfreaks.com/topic/95246-this-not-in-object-context/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.