CodeIgniter Forums

Full Version: Help with php error 500 (script included)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am not sure what is happening here but im trying to access a function "checkhost" But i am receiving a 500 error.


PHP Code:
while ($jobs $r)

    $this->CheckHost($jobs[0], $jobs[1])->result_array(); 


ERROR:


Code:
PHP Fatal error:  Cannot use object of type stdClass as array in C:\\xampp\\htdocs\\application\\models\\Search_model.php on line 315


Does anyone know what is causing this error and how i should fix it?

Full Script http://pastebin.com/xbuESAhY