Warning (2): Creating default object from empty value [APP/Controller/DealsController.php, line 1234]
Error: Cannot use object of type stdClass as array

Cannot use object of type stdClass as array Error

Documentation API
Error in: ROOT/src/Controller/DealsController.php, line 1236
( ! ) Xdebug: user triggered in /home/indiafreestuff/beta/src/Template/Error/error500.ctp on line 33
Call Stack
#TimeMemoryFunctionLocation
11.05952419904Cake\Error\ErrorHandler->wrapAndHandleException( ).../BaseErrorHandler.php:0
21.05952422920Cake\Error\ErrorHandler->handleException( ).../BaseErrorHandler.php:164
31.05952422920Cake\Error\ErrorHandler->_displayException( ).../BaseErrorHandler.php:180
41.06012445320Cake\Error\ExceptionRenderer->render( ).../ErrorHandler.php:144
51.06022513872Cake\Error\ExceptionRenderer->_outputMessage( ).../ExceptionRenderer.php:194
61.06092554352Cake\Error\ExceptionRenderer->_outputMessage( ).../ExceptionRenderer.php:336
71.06092554352Cake\Controller\ErrorController->render( ).../ExceptionRenderer.php:327
81.06122558808App\View\AppView->render( ).../Controller.php:617
91.06132559832App\View\AppView->_render( ).../View.php:588
101.06142561264App\View\AppView->_evaluate( ).../View.php:964
111.06142579584include( '/home/indiafreestuff/beta/src/Template/Error/error500.ctp' ).../View.php:1005
121.06162597304xdebug_print_function_stack ( ).../error500.ctp:33

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

toggle vendor stack frames