Notice!

Fuel\Core\PhpErrorException [ Notice ]:
Undefined index: host

APPPATH/classes/lib/linkmap.php @ line 15

10    public static function findRedirect($linkID$affiliate) {
11        $item linker::findLink($linkID$affiliate);
12        if ($item !== false) {
13            $urlComponents parse_url($item['url']);
14            
15            $host $urlComponents['host'];
16            if (!isset($urlComponents['path'])) {
17                $path "/";
18            } else {
19                $path $urlComponents['path'];
20            }

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/lib/linkmap.php @ line 15
    10    public static function findRedirect($linkID$affiliate) {
    11        $item linker::findLink($linkID$affiliate);
    12        if ($item !== false) {
    13            $urlComponents parse_url($item['url']);
    14            
    15            $host $urlComponents['host'];
    16            if (!isset($urlComponents['path'])) {
    17                $path "/";
    18            } else {
    19                $path $urlComponents['path'];
    20            }
    
  3. APPPATH/classes/controller/welcome.php @ line 59
    54
    55        if ($url === false) {
    56            return Response::forge("Not Found"404);
    57        }
    58
    59        $tgturl = \lib\linkmap::findRedirect($url$id);
    60
    61        if ($tgturl == false) {
    62            return Response::forge("Legacy Link Not Found"404);
    63        } else {
    64            return Response::redirect($tgturl);
    
  4. 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');
    
  5. DOCROOT/index.php @ line 133
    128            $response Response::forge($response);
    129        }
    130    }
    131    elseif ($e === false)
    132    {
    133        $response Request::forge()->execute()->response();
    134    }
    135    elseif ($route)
    136    {
    137        $response Request::forge($routefalse)->execute(array($e))->response();
    138    }
    
  6. DOCROOT/index.php @ line 172
    167{
    168    // Boot the app...
    169    require APPPATH.'bootstrap.php';
    170
    171    // ... and execute the main request
    172    $response $routerequest();
    173}
    174catch (HttpBadRequestException $e)
    175{
    176    $response $routerequest('_400_'$e);
    177}