- Accueil
- Alarme incendie
Alarme incendie
Notice (8): Trying to get property of non-object [APP/Template/Categories/show.ctp, line 40]
Code Context
" alt="Alarme incendie">
<div class="thumbnail">
<img src="<?= $v->thumb->file ?>" alt="<?= $cat->name ?>">
$viewFile = '/home/opure/security/src/Template/Categories/show.ctp' $dataForView = [ 'works' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Works.id AS `Works__id`, Works.name AS `Works__name`, Works.content AS `Works__content`, Works.online AS `Works__online`, Works.media_id AS `Works__media_id`, Works.category_id AS `Works__category_id`, Works.type AS `Works__type`, Works.slug AS `Works__slug`, Works.meta AS `Works__meta`, Works.keywords AS `Works__keywords`, Works.position AS `Works__position`, Works.menu AS `Works__menu`, Works.accueil AS `Works__accueil`, Thumb.id AS `Thumb__id`, Thumb.ref AS `Thumb__ref`, Thumb.ref_id AS `Thumb__ref_id`, Thumb.file AS `Thumb__file`, Thumb.position AS `Thumb__position`, Thumb.name AS `Thumb__name`, Thumb.active AS `Thumb__active`, Thumb.accueil AS `Thumb__accueil`, Thumb.url AS `Thumb__url` FROM works Works LEFT JOIN medias Thumb ON Thumb.id = (Works.media_id) WHERE Works.category_id = :c0', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\WorksTable) {} }, 'categories' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.content2 AS `Categories__content2`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Categories.menu AS `Categories__menu`, Categories.color AS `Categories__color`, Thumb.id AS `Thumb__id`, Thumb.ref AS `Thumb__ref`, Thumb.ref_id AS `Thumb__ref_id`, Thumb.file AS `Thumb__file`, Thumb.position AS `Thumb__position`, Thumb.name AS `Thumb__name`, Thumb.active AS `Thumb__active`, Thumb.accueil AS `Thumb__accueil`, Thumb.url AS `Thumb__url` FROM categories Categories LEFT JOIN medias Thumb ON Thumb.id = (Categories.media_id)', 'params' => [[maximum depth reached]], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\CategoriesTable) {} }, 'cat' => object(App\Model\Entity\Category) { 'id' => (int) 13, 'name' => 'Alarme incendie', 'content' => '', 'online' => (int) 1, 'content2' => '', 'media_id' => null, 'slug' => 'Alarme-incendie', 'menu' => (int) 0, 'color' => '', 'thumb' => null, 'media' => [[maximum depth reached]], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'Categories' } ] $works = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Works.id AS `Works__id`, Works.name AS `Works__name`, Works.content AS `Works__content`, Works.online AS `Works__online`, Works.media_id AS `Works__media_id`, Works.category_id AS `Works__category_id`, Works.type AS `Works__type`, Works.slug AS `Works__slug`, Works.meta AS `Works__meta`, Works.keywords AS `Works__keywords`, Works.position AS `Works__position`, Works.menu AS `Works__menu`, Works.accueil AS `Works__accueil`, Thumb.id AS `Thumb__id`, Thumb.ref AS `Thumb__ref`, Thumb.ref_id AS `Thumb__ref_id`, Thumb.file AS `Thumb__file`, Thumb.position AS `Thumb__position`, Thumb.name AS `Thumb__name`, Thumb.active AS `Thumb__active`, Thumb.accueil AS `Thumb__accueil`, Thumb.url AS `Thumb__url` FROM works Works LEFT JOIN medias Thumb ON Thumb.id = (Works.media_id) WHERE Works.category_id = :c0', 'params' => [ ':c0' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Works__id' => 'integer', 'Works.id' => 'integer', 'id' => 'integer', 'Works__name' => 'string', 'Works.name' => 'string', 'name' => 'string', 'Works__content' => 'text', 'Works.content' => 'text', 'content' => 'text', 'Works__online' => 'integer', 'Works.online' => 'integer', 'online' => 'integer', 'Works__media_id' => 'integer', 'Works.media_id' => 'integer', 'media_id' => 'integer', 'Works__category_id' => 'integer', 'Works.category_id' => 'integer', 'category_id' => 'integer', 'Works__type' => 'string', 'Works.type' => 'string', 'type' => 'string', 'Works__slug' => 'string', 'Works.slug' => 'string', 'slug' => 'string', 'Works__meta' => 'string', 'Works.meta' => 'string', 'meta' => 'string', 'Works__keywords' => 'string', 'Works.keywords' => 'string', 'keywords' => 'string', 'Works__position' => 'integer', 'Works.position' => 'integer', 'position' => 'integer', 'Works__menu' => 'integer', 'Works.menu' => 'integer', 'menu' => 'integer', 'Works__accueil' => 'string', 'Works.accueil' => 'string', 'accueil' => 'string', 'Media__id' => 'integer', 'Media.id' => 'integer', 'Media__ref' => 'string', 'Media.ref' => 'string', 'ref' => 'string', 'Media__ref_id' => 'integer', 'Media.ref_id' => 'integer', 'ref_id' => 'integer', 'Media__file' => 'string', 'Media.file' => 'string', 'file' => 'string', 'Media__position' => 'integer', 'Media.position' => 'integer', 'Media__name' => 'string', 'Media.name' => 'string', 'Media__active' => 'string', 'Media.active' => 'string', 'active' => 'string', 'Media__accueil' => 'string', 'Media.accueil' => 'string', 'Media__url' => 'string', 'Media.url' => 'string', 'url' => 'string', 'Thumb__id' => 'integer', 'Thumb.id' => 'integer', 'Thumb__ref' => 'string', 'Thumb.ref' => 'string', 'Thumb__ref_id' => 'integer', 'Thumb.ref_id' => 'integer', 'Thumb__file' => 'string', 'Thumb.file' => 'string', 'Thumb__position' => 'integer', 'Thumb.position' => 'integer', 'Thumb__name' => 'string', 'Thumb.name' => 'string', 'Thumb__active' => 'string', 'Thumb.active' => 'string', 'Thumb__accueil' => 'string', 'Thumb.accueil' => 'string', 'Thumb__url' => 'string', 'Thumb.url' => 'string' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Media' => [[maximum depth reached]], 'Thumb' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\WorksTable) {} } $categories = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.content2 AS `Categories__content2`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Categories.menu AS `Categories__menu`, Categories.color AS `Categories__color`, Thumb.id AS `Thumb__id`, Thumb.ref AS `Thumb__ref`, Thumb.ref_id AS `Thumb__ref_id`, Thumb.file AS `Thumb__file`, Thumb.position AS `Thumb__position`, Thumb.name AS `Thumb__name`, Thumb.active AS `Thumb__active`, Thumb.accueil AS `Thumb__accueil`, Thumb.url AS `Thumb__url` FROM categories Categories LEFT JOIN medias Thumb ON Thumb.id = (Categories.media_id)', 'params' => [], 'defaultTypes' => [ 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'id' => 'integer', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__content' => 'text', 'Categories.content' => 'text', 'content' => 'text', 'Categories__online' => 'integer', 'Categories.online' => 'integer', 'online' => 'integer', 'Categories__content2' => 'string', 'Categories.content2' => 'string', 'content2' => 'string', 'Categories__media_id' => 'integer', 'Categories.media_id' => 'integer', 'media_id' => 'integer', 'Categories__slug' => 'string', 'Categories.slug' => 'string', 'slug' => 'string', 'Categories__menu' => 'integer', 'Categories.menu' => 'integer', 'menu' => 'integer', 'Categories__color' => 'string', 'Categories.color' => 'string', 'color' => 'string', 'Media__id' => 'integer', 'Media.id' => 'integer', 'Media__ref' => 'string', 'Media.ref' => 'string', 'ref' => 'string', 'Media__ref_id' => 'integer', 'Media.ref_id' => 'integer', 'ref_id' => 'integer', 'Media__file' => 'string', 'Media.file' => 'string', 'file' => 'string', 'Media__position' => 'integer', 'Media.position' => 'integer', 'position' => 'integer', 'Media__name' => 'string', 'Media.name' => 'string', 'Media__active' => 'string', 'Media.active' => 'string', 'active' => 'string', 'Media__accueil' => 'string', 'Media.accueil' => 'string', 'accueil' => 'string', 'Media__url' => 'string', 'Media.url' => 'string', 'url' => 'string', 'Thumb__id' => 'integer', 'Thumb.id' => 'integer', 'Thumb__ref' => 'string', 'Thumb.ref' => 'string', 'Thumb__ref_id' => 'integer', 'Thumb.ref_id' => 'integer', 'Thumb__file' => 'string', 'Thumb.file' => 'string', 'Thumb__position' => 'integer', 'Thumb.position' => 'integer', 'Thumb__name' => 'string', 'Thumb.name' => 'string', 'Thumb__active' => 'string', 'Thumb.active' => 'string', 'Thumb__accueil' => 'string', 'Thumb.accueil' => 'string', 'Thumb__url' => 'string', 'Thumb.url' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Media' => [[maximum depth reached]], 'Thumb' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CategoriesTable) {} } $cat = object(App\Model\Entity\Category) { 'id' => (int) 13, 'name' => 'Alarme incendie', 'content' => '', 'online' => (int) 1, 'content2' => '', 'media_id' => null, 'slug' => 'Alarme-incendie', 'menu' => (int) 0, 'color' => '', 'thumb' => null, 'media' => [], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Categories' } $espacepro = object(App\View\Cell\InboxCell) { 'plugin' => null, 'action' => 'display', 'args' => [], 'template' => 'display', 'viewClass' => 'App\View\AppView', 'request' => object(Cake\Http\ServerRequest) {}, 'response' => object(Cake\Http\Response) {} } $formations = object(App\View\Cell\MenuagencesCell) { 'plugin' => null, 'action' => 'display', 'args' => [], 'template' => 'display', 'viewClass' => 'App\View\AppView', 'request' => object(Cake\Http\ServerRequest) {}, 'response' => object(Cake\Http\Response) {} } $cell = object(App\View\Cell\MenuprofCell) { 'plugin' => null, 'action' => 'display', 'args' => [], 'template' => 'display', 'viewClass' => 'App\View\AppView', 'request' => object(Cake\Http\ServerRequest) {}, 'response' => object(Cake\Http\Response) {} } $catalogue = object(App\View\Cell\CatalogueCell) { 'plugin' => null, 'action' => 'display', 'args' => [], 'template' => 'display', 'viewClass' => 'App\View\AppView', 'request' => object(Cake\Http\ServerRequest) {}, 'response' => object(Cake\Http\Response) {} } $v = object(App\Model\Entity\Work) { 'id' => (int) 37, 'name' => 'Alarme incendie Nugelec', 'content' => '', 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 13, 'type' => 'work', 'slug' => 'Alarme-incendie-Nugelec', 'meta' => '', 'keywords' => null, 'position' => null, 'menu' => (int) 0, 'accueil' => '', 'thumb' => null, 'media' => [ (int) 0 => object(Media\Model\Entity\Media) {} ], '[new]' => false, '[accessible]' => [ '*' => true, 'tags' => true, 'tag_string' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Works' } $k = (int) 0
include - APP/Template/Categories/show.ctp, line 40 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1168 Cake\View\View::_render() - CORE/src/View/View.php, line 1129 Cake\View\View::render() - CORE/src/View/View.php, line 753 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 624 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 125 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 103 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 107 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 93 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 81