CodeIgniter Forums
Help with php error 500 (script included) - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Help with php error 500 (script included) (/thread-64593.html)



Help with php error 500 (script included) - littlefeather - 03-09-2016

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