Event date :
Notice (8): Trying to get property of non-object [APP/Template/Pages/single.ctp, line 27]Code Context <div class="col-md-6 col-xs-6 ms-data-field">
<h2 class="heading-text">Event date :</h2>
<p><?php echo date("d M Y", strtotime($data->event_date)).' - '.date("d M Y", strtotime($data->event_to)) ?></p>
$viewFile = '/home/mahifabtex/public_html/app/src/Template/Pages/single.ctp'
$dataForView = [
'data' => null,
'type' => 'event',
'prefix' => ''
]
$data = null
$type = 'event'
$prefix = ''
$userId = null
include - APP/Template/Pages/single.ctp, line 27
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1012
Cake\View\View::_render() - CORE/src/View/View.php, line 971
Cake\View\View::render() - CORE/src/View/View.php, line 595
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 617
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 128
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 96
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36
Notice (8): Trying to get property of non-object [APP/Template/Pages/single.ctp, line 27]Code Context <div class="col-md-6 col-xs-6 ms-data-field">
<h2 class="heading-text">Event date :</h2>
<p><?php echo date("d M Y", strtotime($data->event_date)).' - '.date("d M Y", strtotime($data->event_to)) ?></p>
$viewFile = '/home/mahifabtex/public_html/app/src/Template/Pages/single.ctp'
$dataForView = [
'data' => null,
'type' => 'event',
'prefix' => ''
]
$data = null
$type = 'event'
$prefix = ''
$userId = null
include - APP/Template/Pages/single.ctp, line 27
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1012
Cake\View\View::_render() - CORE/src/View/View.php, line 971
Cake\View\View::render() - CORE/src/View/View.php, line 595
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 617
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 128
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 96
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36
01 Jan 1970 - 01 Jan 1970
Address
Notice (8): Trying to get property of non-object [APP/Template/Pages/single.ctp, line 31]Code Context <div class="col-md-6 col-xs-6 ms-data-field">
<h2 class="heading-text">Address</h2>
<p><?php echo $data->address;?></p>
$viewFile = '/home/mahifabtex/public_html/app/src/Template/Pages/single.ctp'
$dataForView = [
'data' => null,
'type' => 'event',
'prefix' => ''
]
$data = null
$type = 'event'
$prefix = ''
$userId = null
include - APP/Template/Pages/single.ctp, line 31
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1012
Cake\View\View::_render() - CORE/src/View/View.php, line 971
Cake\View\View::render() - CORE/src/View/View.php, line 595
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 617
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 128
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 96
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 60
[main] - ROOT/webroot/index.php, line 36