GET /view/68

Call to a member function getExtBody() on boolean -YingZao\Exceptions\handler\ErrorException

Stack Trace (Full)

    [1]YingZao\Exceptions\handler\ErrorException:Call to a member function getExtBody() on boolean 

  • 1.  in app/controllers/ViewController.php line 33

    1.         if ($id 0) {
    2.             $content Content::getById($id);
    3.             $content->has_thumb && $content->thumb_path && $content->thumb_path Base::image($content->thumb_path,0);
    4.             $content->body str_replace(' ',' ',strip_tags($content->getExtBody()));
    5.             if ($content && $content->isActive()) {
    6.                 $content->browse += 1;
    7.                 $content->save();
  • 2.  at YingZao\Exceptions\handler\ErrorRegister::appShutdown()

Stack Trace (Logs)
  • 2024-03-28 20:38:02 NOTICE Undefined variable: routes app/config/services.php:36

  • 2024-03-28 20:38:02 NOTICE Undefined property: Phalcon\Config::$disabledProduct app/config/routes.php:6

  • 2024-03-28 20:38:02 NOTICE Undefined index: module app/config/routes.php:61

  • 2024-03-28 20:38:02 NOTICE Undefined offset: 2 app/controllers/ControllerBase.php:245

  • 2024-03-28 20:38:02 NOTICE Use of undefined constant self - assumed 'self' app/library/YunZom/Mvc/Model/SystemConfig.php:198

  • 2024-03-28 20:38:02 NOTICE Use of undefined constant self - assumed 'self' app/library/YunZom/Mvc/Model/SystemConfig.php:198

  • 2024-03-28 20:38:02 NOTICE Constant DOMAIN already defined app/config/services.php:274

  • 2024-03-28 20:38:02 NOTICE Undefined property: Phalcon\Config::$port app/config/services.php:177

  • 2024-03-28 20:38:02 NOTICE Trying to get property of non-object app/controllers/ViewController.php:32

  • 2024-03-28 20:38:02 STRICT Only variables should be passed by reference app/controllers/ControllerBase.php:79

Stack Trace (Simple)

    [1]YingZao\Exceptions\handler\ErrorException:Call to a member function getExtBody() on boolean 

  • 1.  in app/controllers/ViewController.php line 33

  • 2.  at YingZao\Exceptions\handler\ErrorRegister::appShutdown()