Notice (8): Trying to get property 'categoria' of non-object [APP/Controller/CursosController.php, line 376]
Notice (8): Trying to get property 'adicionais' of non-object [APP/Controller/CursosController.php, line 379]
Notice (8): Trying to get property 'id' of non-object [APP/Controller/CursosController.php, line 381]
Warning (512): Unable to emit headers. Headers sent in file=/home/dkmadmin/public_html/quase.educbr.com/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 48]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/dkmadmin/public_html/quase.educbr.com/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 148]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/dkmadmin/public_html/quase.educbr.com/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 181]
Error: Record not found in table "cursos" with primary key [NULL]

Record not found in table "cursos" with primary key [NULL] Cake\Datasource\Exception\InvalidPrimaryKeyException

Documentation API

Could this be caused by using Auto-Tables?

Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.

This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:


Please try correcting the issue for the following table aliases:



( ! ) Xdebug: user triggered in /home/dkmadmin/public_html/quase.educbr.com/src/Template/Error/error500.ctp on line 35
Call Stack
#TimeMemoryFunctionLocation
10.0000394080{main}( ).../index.php:0
20.0022768144Cake\Http\Server->run( ).../index.php:41
30.02641708448Cake\Http\Runner->run( ).../Server.php:98
40.02641708448Cake\Http\Runner->__invoke( ).../Runner.php:51
50.02671710512Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke( ).../Runner.php:65
60.12618310120Cake\Error\Middleware\ErrorHandlerMiddleware->handleException( ).../ErrorHandlerMiddleware.php:100
70.12728356200Cake\Error\ExceptionRenderer->render( ).../ErrorHandlerMiddleware.php:118
80.12768366144Cake\Error\ExceptionRenderer->_outputMessage( ).../ExceptionRenderer.php:205
90.13308721656Cake\Error\ExceptionRenderer->_outputMessage( ).../ExceptionRenderer.php:338
100.13308721656App\Controller\ErrorController->render( ).../ExceptionRenderer.php:329
110.13608807080App\View\AppView->render( ).../Controller.php:790
120.13638807760App\View\AppView->_render( ).../View.php:803
130.13648807760App\View\AppView->_evaluate( ).../View.php:1201
140.13648824840include( '/home/dkmadmin/public_html/quase.educbr.com/src/Template/Error/error500.ctp' ).../View.php:1240
150.13678842104xdebug_print_function_stack ( ).../error500.ctp:35

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

toggle vendor stack frames