Object of class Status could not be converted to string in server.php on line 1843