Notice!

Fuel\Core\PhpErrorException [ Notice ]:
Trying to get property of non-object

APPPATH/classes/controller/page.php @ line 286

281        // Canonical url with no slash for meta tag photo url
282        $this->template['base_url'] = rtrim(Uri::base(), '/');
283        $this->template['page_url'] = rtrim(Uri::main(), '/');
284        $this->template['canonical_url'] = null;
285        // Do not index the basket page
286        $this->template['disable_indexing'] = ($page->type === 'basket') || (Fuel::$env !== Helper_Request::ENVIRONMENT_PRODUCTION);
287
288        // Find meta tags
289        $this->template['metatag'] = array();
290
291        if ($page) {

Backtrace

  1. COREPATH/bootstrap.php @ line 112
    107        include COREPATH.'classes/errorhandler.php';
    108        class_alias('\Fuel\Core\Errorhandler''Errorhandler');
    109        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    110    }
    111
    112    return \Errorhandler::error_handler($severity$message$filepath$line);
    113});
    114
    115function setup_autoloader()
    116{
    117    \Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/classes/controller/page.php @ line 286
    281        // Canonical url with no slash for meta tag photo url
    282        $this->template['base_url'] = rtrim(Uri::base(), '/');
    283        $this->template['page_url'] = rtrim(Uri::main(), '/');
    284        $this->template['canonical_url'] = null;
    285        // Do not index the basket page
    286        $this->template['disable_indexing'] = ($page->type === 'basket') || (Fuel::$env !== Helper_Request::ENVIRONMENT_PRODUCTION);
    287
    288        // Find meta tags
    289        $this->template['metatag'] = array();
    290
    291        if ($page) {
    
  3. APPPATH/classes/controller/page.php @ line 174
    169        if( ! $language && in_array(Uri::segment(1), array_keys(Config::get('languages'))))
    170            $language Uri::segment(1);
    171        else
    172            $language Config::get('default_language');
    173
    174        $this->common($language);
    175
    176
    177        return Response::forge(View::forge('content/404.twig'$this->template), 404);
    178    }
    179
    
  4. APPPATH/classes/controller/page.php @ line 134
    129            }
    130        }
    131
    132        if (! $page)
    133        {
    134            return $this->action_404();
    135        }
    136
    137        $params array_slice($segmentscount(explode('/'trim($page->href'/'))));
    138
    139        if (! empty($params))
    
  5. COREPATH/classes/request.php @ line 483
    478                    // fire any controller started events
    479                    \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started''''none');
    480
    481                    $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    482
    483                    $response $action->invokeArgs($this->controller_instance$this->method_params);
    484
    485                    $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    486
    487                    // fire any controller finished events
    488                    \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished''''none');
    
  6. DOCROOT/index.php @ line 77
    72            $response Response::forge($response);
    73        }
    74    }
    75    elseif ($e === false)
    76    {
    77        $response Request::forge()->execute()->response();
    78    }
    79    elseif ($route)
    80    {
    81        $response Request::forge($routefalse)->execute(array($e))->response();
    82    }
    
  7. DOCROOT/index.php @ line 102
    97{
    98    // Boot the app...
    99    require APPPATH.'bootstrap.php';
    100
    101    // ... and execute the main request
    102    $response $routerequest();
    103}
    104catch (HttpBadRequestException $e)
    105{
    106    $response $routerequest('_400_'$e);
    107}