Warning (4096): Argument 1 passed to App\Model\Table\ContentsTable::buildEntity() must implement interface Cake\Datasource\EntityInterface, null given, called in /home/storage/e/de/8d/maristelaimoveis/public_html/2017/src/Controller/Component/ContentComponent.php on line 94 and defined [APP/Model/Table/ContentsTable.php, line 172]
Notice (8): Trying to get property of non-object [APP/Model/Table/ContentsTable.php, line 174]
Warning (4096): Argument 1 passed to App\Model\Table\ContentsTable::buildCover() must be an instance of App\Model\Entity\Content, null given, called in /home/storage/e/de/8d/maristelaimoveis/public_html/2017/src/Model/Table/ContentsTable.php on line 192 and defined [APP/Model/Table/ContentsTable.php, line 230]
Warning (4096): Argument 1 passed to App\Model\Table\ContentsTable::buildMeta() must be an instance of App\Model\Entity\Content, null given, called in /home/storage/e/de/8d/maristelaimoveis/public_html/2017/src/Model/Table/ContentsTable.php on line 193 and defined [APP/Model/Table/ContentsTable.php, line 204]
Warning (2): Creating default object from empty value [APP/Controller/Component/ContentComponent.php, line 100]
Warning (4096): Argument 1 passed to App\Controller\Component\ContentComponent::getGallery() must implement interface Cake\Datasource\EntityInterface, instance of stdClass given, called in /home/storage/e/de/8d/maristelaimoveis/public_html/2017/src/Controller/VendasController.php on line 62 and defined [APP/Controller/Component/ContentComponent.php, line 176]
Warning (4096): Argument 1 passed to App\Controller\Component\GalleryComponent::getByContent() must implement interface Cake\Datasource\EntityInterface, instance of stdClass given, called in /home/storage/e/de/8d/maristelaimoveis/public_html/2017/src/Controller/Component/ContentComponent.php on line 178 and defined [APP/Controller/Component/GalleryComponent.php, line 33]
Notice (8): Undefined property: stdClass::$id [APP/Controller/Component/GalleryComponent.php, line 39]
Notice (8): Undefined property: stdClass::$type [APP/Controller/Component/ContentComponent.php, line 265]
Notice (8): Undefined property: stdClass::$title [APP/Controller/Component/ContentComponent.php, line 279]
Notice (8): Undefined property: stdClass::$type [APP/Controller/Component/ContentComponent.php, line 281]
Notice (8): Undefined property: stdClass::$title [APP/View/Helper/VCommUrlHelper.php, line 31]
Error: Fatal Error

Fatal Error Cake\Error\FatalErrorException

Documentation API

Error: Function name must be a string
File /home/storage/e/de/8d/maristelaimoveis/public_html/2017/src/Controller/Component/ContentComponent.php
Line: 296

If you want to customize this error message, create src/Template/Error/fatal_error.ctp

toggle vendor stack frames