Notice (8): Trying to get property 'image' of non-object [
APP/Template/Home/chapter.ctp, line
10]
Code Context <div class="wpo-event-img">
<img src="<?php echo WEBSITE_URL.'img/ourchapters/'.$chapter->image; ?>" alt="">
$viewFile = '/home/smileforsct/public_html/src/Template/Home/chapter.ctp'
$dataForView = [
'title_url' => 'chapter',
'title_for_controller' => 'chapters',
'title_for_image' => '',
'title_for_layout' => '',
'meta_dec' => '',
'meta_key' => '',
'title_for_url' => '',
'chapter' => null,
'chapters' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT `Ourchapter`.`id` AS `Ourchapter__id`, `Ourchapter`.`title` AS `Ourchapter__title`, `Ourchapter`.`slug` AS `Ourchapter__slug`, `Ourchapter`.`category` AS `Ourchapter__category`, `Ourchapter`.`alt` AS `Ourchapter__alt`, `Ourchapter`.`dates` AS `Ourchapter__dates`, `Ourchapter`.`image` AS `Ourchapter__image`, `Ourchapter`.`short` AS `Ourchapter__short`, `Ourchapter`.`content` AS `Ourchapter__content`, `Ourchapter`.`orders` AS `Ourchapter__orders`, `Ourchapter`.`status` AS `Ourchapter__status`, `Ourchapter`.`created` AS `Ourchapter__created`, `Ourchapter`.`modified` AS `Ourchapter__modified` FROM `ourchapters` `Ourchapter` WHERE `status` = :c0 ORDER BY `id` DESC',
'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\OurchapterTable) {}
}
]
$title_url = 'chapter'
$title_for_controller = 'chapters'
$title_for_image = ''
$title_for_layout = ''
$meta_dec = ''
$meta_key = ''
$title_for_url = ''
$chapter = null
$chapters = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT `Ourchapter`.`id` AS `Ourchapter__id`, `Ourchapter`.`title` AS `Ourchapter__title`, `Ourchapter`.`slug` AS `Ourchapter__slug`, `Ourchapter`.`category` AS `Ourchapter__category`, `Ourchapter`.`alt` AS `Ourchapter__alt`, `Ourchapter`.`dates` AS `Ourchapter__dates`, `Ourchapter`.`image` AS `Ourchapter__image`, `Ourchapter`.`short` AS `Ourchapter__short`, `Ourchapter`.`content` AS `Ourchapter__content`, `Ourchapter`.`orders` AS `Ourchapter__orders`, `Ourchapter`.`status` AS `Ourchapter__status`, `Ourchapter`.`created` AS `Ourchapter__created`, `Ourchapter`.`modified` AS `Ourchapter__modified` FROM `ourchapters` `Ourchapter` WHERE `status` = :c0 ORDER BY `id` DESC',
'params' => [
':c0' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Ourchapter__id' => 'integer',
'Ourchapter.id' => 'integer',
'id' => 'integer',
'Ourchapter__title' => 'string',
'Ourchapter.title' => 'string',
'title' => 'string',
'Ourchapter__slug' => 'string',
'Ourchapter.slug' => 'string',
'slug' => 'string',
'Ourchapter__category' => 'string',
'Ourchapter.category' => 'string',
'category' => 'string',
'Ourchapter__alt' => 'string',
'Ourchapter.alt' => 'string',
'alt' => 'string',
'Ourchapter__dates' => 'date',
'Ourchapter.dates' => 'date',
'dates' => 'date',
'Ourchapter__image' => 'string',
'Ourchapter.image' => 'string',
'image' => 'string',
'Ourchapter__short' => 'string',
'Ourchapter.short' => 'string',
'short' => 'string',
'Ourchapter__content' => 'text',
'Ourchapter.content' => 'text',
'content' => 'text',
'Ourchapter__orders' => 'string',
'Ourchapter.orders' => 'string',
'orders' => 'string',
'Ourchapter__status' => 'integer',
'Ourchapter.status' => 'integer',
'status' => 'integer',
'Ourchapter__created' => 'datetime',
'Ourchapter.created' => 'datetime',
'created' => 'datetime',
'Ourchapter__modified' => 'datetime',
'Ourchapter.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\OurchapterTable) {}
}
include - APP/Template/Home/chapter.ctp, line 10
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98
https://smileforallsociety.org/img/ourchapters/" alt="">
Notice (8): Trying to get property 'content' of non-object [APP/Template/Home/chapter.ctp, line 14]Code Context <div class="wpo-event-details-text">
<?php echo $chapter->content; ?>
</div>
$viewFile = '/home/smileforsct/public_html/src/Template/Home/chapter.ctp'
$dataForView = [
'title_url' => 'chapter',
'title_for_controller' => 'chapters',
'title_for_image' => '',
'title_for_layout' => '',
'meta_dec' => '',
'meta_key' => '',
'title_for_url' => '',
'chapter' => null,
'chapters' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT `Ourchapter`.`id` AS `Ourchapter__id`, `Ourchapter`.`title` AS `Ourchapter__title`, `Ourchapter`.`slug` AS `Ourchapter__slug`, `Ourchapter`.`category` AS `Ourchapter__category`, `Ourchapter`.`alt` AS `Ourchapter__alt`, `Ourchapter`.`dates` AS `Ourchapter__dates`, `Ourchapter`.`image` AS `Ourchapter__image`, `Ourchapter`.`short` AS `Ourchapter__short`, `Ourchapter`.`content` AS `Ourchapter__content`, `Ourchapter`.`orders` AS `Ourchapter__orders`, `Ourchapter`.`status` AS `Ourchapter__status`, `Ourchapter`.`created` AS `Ourchapter__created`, `Ourchapter`.`modified` AS `Ourchapter__modified` FROM `ourchapters` `Ourchapter` WHERE `status` = :c0 ORDER BY `id` DESC',
'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\OurchapterTable) {}
}
]
$title_url = 'chapter'
$title_for_controller = 'chapters'
$title_for_image = ''
$title_for_layout = ''
$meta_dec = ''
$meta_key = ''
$title_for_url = ''
$chapter = null
$chapters = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT `Ourchapter`.`id` AS `Ourchapter__id`, `Ourchapter`.`title` AS `Ourchapter__title`, `Ourchapter`.`slug` AS `Ourchapter__slug`, `Ourchapter`.`category` AS `Ourchapter__category`, `Ourchapter`.`alt` AS `Ourchapter__alt`, `Ourchapter`.`dates` AS `Ourchapter__dates`, `Ourchapter`.`image` AS `Ourchapter__image`, `Ourchapter`.`short` AS `Ourchapter__short`, `Ourchapter`.`content` AS `Ourchapter__content`, `Ourchapter`.`orders` AS `Ourchapter__orders`, `Ourchapter`.`status` AS `Ourchapter__status`, `Ourchapter`.`created` AS `Ourchapter__created`, `Ourchapter`.`modified` AS `Ourchapter__modified` FROM `ourchapters` `Ourchapter` WHERE `status` = :c0 ORDER BY `id` DESC',
'params' => [
':c0' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Ourchapter__id' => 'integer',
'Ourchapter.id' => 'integer',
'id' => 'integer',
'Ourchapter__title' => 'string',
'Ourchapter.title' => 'string',
'title' => 'string',
'Ourchapter__slug' => 'string',
'Ourchapter.slug' => 'string',
'slug' => 'string',
'Ourchapter__category' => 'string',
'Ourchapter.category' => 'string',
'category' => 'string',
'Ourchapter__alt' => 'string',
'Ourchapter.alt' => 'string',
'alt' => 'string',
'Ourchapter__dates' => 'date',
'Ourchapter.dates' => 'date',
'dates' => 'date',
'Ourchapter__image' => 'string',
'Ourchapter.image' => 'string',
'image' => 'string',
'Ourchapter__short' => 'string',
'Ourchapter.short' => 'string',
'short' => 'string',
'Ourchapter__content' => 'text',
'Ourchapter.content' => 'text',
'content' => 'text',
'Ourchapter__orders' => 'string',
'Ourchapter.orders' => 'string',
'orders' => 'string',
'Ourchapter__status' => 'integer',
'Ourchapter.status' => 'integer',
'status' => 'integer',
'Ourchapter__created' => 'datetime',
'Ourchapter.created' => 'datetime',
'created' => 'datetime',
'Ourchapter__modified' => 'datetime',
'Ourchapter.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\OurchapterTable) {}
}
include - APP/Template/Home/chapter.ctp, line 14
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1419
Cake\View\View::_render() - CORE/src/View/View.php, line 1380
Cake\View\View::render() - CORE/src/View/View.php, line 880
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
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 96
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 98