Error!
ErrorException [ Error ]: Call to a member function get_path_parts() on null
APPPATH/classes/controller/layout.php @ line 476
471 }
472 }
473
474 public function action_kategorie()
475 {
476 $info = static::$current_shop_page->get_path_parts();
477
478 $text = static::$current_shop_page->get_path_text();
479
480 $info['sub'] != '' and $info['sub'] = $info['main'];
481
Backtrace
-
COREPATH/bootstrap.php @ line 33
28 * Register all the error/shutdown handlers
29 */
30register_shutdown_function(function ()
31{
32 load_error_classes();
33 return \Error::shutdown_handler();
34});
35
36set_exception_handler(function (\Exception $e)
37{
38 load_error_classes();
Prior Non-Fatal Errors
-
Notice: Trying to get property of non-object in APPPATH/classes/controller/layout.php @ line 251
246
247 if($sub_segment == 'kategorie') {
248 $parent_id = 0;
249 }
250 else {
251 $parent_id = $subpage->id;
252 }
253
254 static::$current_shop_page = model_uebersicht::find('first',array(
255 'where' => array(array('url_title','like','%"' . $search_segment . '"%'),'parent'=>$parent_id)
256 ));
Prior Contents (show)
<div style="border: 1px solid #CCC; padding: 10px; background-color: #FFF; color: #333;">
<p style="font-size: 13px; color: #333;"><strong>Notice!</strong></p>
<p style="font-size: 13px; color: #333;">ErrorException [ Notice ]: Trying to get property of non-object</p>
<p style="font-size: 13px; color: #333;"><strong>APPPATH/classes/controller/layout.php @ line 251:</strong></p>
<pre style="font-size: 13px; color: #333; border: 1px solid #EEE; padding: 3px 3px 3px 8px; margin: 0;overflow: auto;"><code>250: else {
<strong>251: $parent_id = $subpage->id;</strong>
252: }
</code></pre>
</div><br />
<b>Fatal error</b>: Call to a member function get_path_parts() on null in <b>/var/www/kunden/k-12/d-118/rstore/fuel/app/classes/controller/layout.php</b> on line <b>476</b><br />