Notice (8): Undefined variable: ub [APP/Controller/AppController.php, line 124]
Notice (8): Undefined variable: ub [APP/Controller/AppController.php, line 136]
Deprecated (8192): strripos() [<a href='https://secure.php.net/function.strripos'>function.strripos</a>]: Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior [APP/Controller/AppController.php, line 136]
Warning (512): Unable to emit headers. Headers sent in file=/home/trainli/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=856 [CORE/src/Http/ResponseEmitter.php, line 51]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/trainli/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 152]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/trainli/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php, line 181]
Error: Call to undefined method App\Controller\Component\CategoryComponent::isCatalogCategory()

Call to undefined method App\Controller\Component\CategoryComponent::isCatalogCategory() Error

Documentation API
Error in: ROOT/src/Controller/ProductsController.php, line 220

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

toggle vendor stack frames