Call to a member function getExtBody() on boolean -YingZao\Exceptions\handler\ErrorException
1. in app/controllers/ViewController.php line 33
if ($id > 0) {
$content = Content::getById($id);
$content->has_thumb && $content->thumb_path && $content->thumb_path = Base::image($content->thumb_path,0);
$content->body = str_replace(' ',' ',strip_tags($content->getExtBody()));
if ($content && $content->isActive()) {
$content->browse += 1;
$content->save();
2. at YingZao\Exceptions\handler\ErrorRegister::appShutdown()
2024-03-29 18:17:56 NOTICE Undefined variable: routes app/config/services.php:36
2024-03-29 18:17:56 NOTICE Undefined property: Phalcon\Config::$disabledProduct app/config/routes.php:6
2024-03-29 18:17:56 NOTICE Undefined index: module app/config/routes.php:61
2024-03-29 18:17:56 NOTICE Undefined offset: 2 app/controllers/ControllerBase.php:245
2024-03-29 18:17:56 NOTICE Use of undefined constant self - assumed 'self' app/library/YunZom/Mvc/Model/SystemConfig.php:198
2024-03-29 18:17:56 NOTICE Use of undefined constant self - assumed 'self' app/library/YunZom/Mvc/Model/SystemConfig.php:198
2024-03-29 18:17:56 NOTICE Constant DOMAIN already defined app/config/services.php:274
2024-03-29 18:17:56 NOTICE Undefined property: Phalcon\Config::$port app/config/services.php:177
2024-03-29 18:17:56 NOTICE Trying to get property of non-object app/controllers/ViewController.php:32
2024-03-29 18:17:56 STRICT Only variables should be passed by reference app/controllers/ControllerBase.php:79
1. in app/controllers/ViewController.php line 33
2. at YingZao\Exceptions\handler\ErrorRegister::appShutdown()