Fuel\Core\PhpErrorException [ Notice ]:
Trying to get property of non-object
62 63 $data['likes'] = Model_Likes::find('all', 64 array( 65 'where' => array( 66 67 array('content_id', '=',$data['event']->id ), 68 69 70 ), 71 'order_by' => array('created_at' => 'asc') 72
98 include COREPATH.'classes/errorhandler.php'; 99 class_alias('\Fuel\Core\Errorhandler', 'Errorhandler'); 100 class_alias('\Fuel\Core\PhpErrorException', 'PhpErrorException'); 101 } 102 103 return \Errorhandler::error_handler($severity, $message, $filepath, $line); 104}); 105 106function setup_autoloader() 107{ 108 \Autoloader::add_namespace('Fuel\\Core', COREPATH.'classes/');
62 63 $data['likes'] = Model_Likes::find('all', 64 array( 65 'where' => array( 66 67 array('content_id', '=',$data['event']->id ), 68 69 70 ), 71 'order_by' => array('created_at' => 'asc') 72
449 // fire any controller started events 450 \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started', '', 'none'); 451 452 $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance); 453 454 $response = $action->invokeArgs($this->controller_instance, $this->method_params); 455 456 $class->hasMethod('after') and $response = $class->getMethod('after')->invoke($this->controller_instance, $response); 457 458 // fire any controller finished events 459 \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished', '', 'none');
66 $response = Response::forge($response); 67 } 68 } 69 elseif ($e === false) 70 { 71 $response = Request::forge()->execute()->response(); 72 } 73 elseif ($route) 74 { 75 $response = Request::forge($route, false)->execute(array($e))->response(); 76 }
91{ 92 // Boot the app... 93 require APPPATH.'bootstrap.php'; 94 95 // ... and execute the main request 96 $response = $routerequest(); 97} 98catch (HttpBadRequestException $e) 99{ 100 $response = $routerequest('_400_', $e); 101}