andrew89898 Posted December 1, 2010 Share Posted December 1, 2010 Hello, When I try to PHP my files I get this error: Cannot use object of type Project as array, in "filepath.php" line 112. Here are the first 2 texts (112,113): $this["Started CPSM, version 0.04, Login Server communication mode: " . LOGIN_MODE . "\n"]; register_shutdown_function(array($this, "shutdownHandler")); Please help, Thanks. Link to comment https://forums.phpfreaks.com/topic/220373-php-error-for-1-line/ Share on other sites More sharing options...
JakeTheSnake3.0 Posted December 1, 2010 Share Posted December 1, 2010 $this is a special keyword used in classes. Use a different array name. http://www.webdevelopmentbits.com/using-this-in-php Link to comment https://forums.phpfreaks.com/topic/220373-php-error-for-1-line/#findComment-1141937 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.