CakePHP: upgrade from 3.6.x to 4.0 “Missing Template Exception”
问题 I followed the upgrade guide (after I upgraded from 3.6 to 3.8 ) but I get this error: Error: [Cake\View\Exception\MissingTemplateException] Template file "Error\error500.ctp" is missing .... If you want to customize this error message, create src\Template\Error\fatal_error.ctp After the upgrade procedure my templates moved to app_name\templates directory and renamed to *.php instead of *.ctp . I updated the app.php and app.default.php with the new paths: 'App' => [ 'namespace' => 'App',