Warning!

Fuel\Core\PhpErrorException [ Warning ]:
Attempt to read property "sort_num" on null

APPPATH/classes/controller/works.php @ line 36

31        $data['rec'] = array_shift($data['rec']);
32
33        //次のページ取得
34        $param = array(
35            'where' => array(
36                array('sort_num''<'$data['rec']->sort_num),
37                array('del_flg''='0),
38                array('status''='\DEF::STATUS_OK),
39            ),
40            'order_by'  => array(
41                    'sort_num' => 'desc'

Backtrace

  1. COREPATH/bootstrap.php @ line 103
    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/');
    
  2. APPPATH/classes/controller/works.php @ line 36
    31        $data['rec'] = array_shift($data['rec']);
    32
    33        //次のページ取得
    34        $param = array(
    35            'where' => array(
    36                array('sort_num''<'$data['rec']->sort_num),
    37                array('del_flg''='0),
    38                array('status''='\DEF::STATUS_OK),
    39            ),
    40            'order_by'  => array(
    41                    'sort_num' => 'desc'
    
  3. COREPATH/base56.php @ line 37
    32                $args array_values($args);
    33            }
    34
    35            list($instance$method) = $callback;
    36
    37            return $instance->{$method}(...$args);
    38        }
    39
    40        // static call?
    41        elseif (is_array($callback) and isset($callback[1]) and is_string($callback[0]))
    42        {
    
  4. COREPATH/classes/controller/hybrid.php @ line 82
    77        }
    78
    79        // check if the action method exists
    80        if (method_exists($this$controller_method))
    81        {
    82            return call_fuel_func_array(array($this$controller_method), $arguments);
    83        }
    84
    85        // if not, we got ourselfs a genuine 404!
    86        throw new \HttpNotFoundException();
    87    }
    
  5. COREPATH/classes/request.php @ line 454
    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');
    
  6. DOCROOT/index.php @ line 85
    80            $response Response::forge($response);
    81        }
    82    }
    83    elseif ($e === false)
    84    {
    85        $response Request::forge()->execute()->response();
    86    }
    87    elseif ($route)
    88    {
    89        $response Request::forge($routefalse)->execute(array($e))->response();
    90    }
    
  7. DOCROOT/index.php @ line 106
    101{
    102    // Boot the app...
    103    require APPPATH.'bootstrap.php';
    104
    105    // ... and execute the main request
    106    $response $routerequest();
    107}
    108catch (HttpBadRequestException $e)
    109{
    110    $response $routerequest('_400_'$e);
    111}