Notice (8): Trying to access array offset on value of type null [APP/Controller/ShopController.php, line 105]Code Context public function checkout() {
$shop = $this->Session->read('Shop');
if(!$shop['Order']['total']) {
$shop = null
ShopController::checkout() - APP/Controller/ShopController.php, line 105
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117
Notice (8): Trying to access array offset on value of type null [APP/Controller/ShopController.php, line 105]Code Context public function checkout() {
$shop = $this->Session->read('Shop');
if(!$shop['Order']['total']) {
$shop = null
ShopController::checkout() - APP/Controller/ShopController.php, line 105
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117