• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with php error 500 (script included)

#1
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
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.