Posted at

CakePHP 2.xx > PHP5.x → PHP7.2 Fatal error

メモです。やり方解説ではありません。


Lib

Fatal error: Cannot use 'Object' as class name as it is reserved in \lib\Cake\Core\Object.php on line 26

cakephpのGitからソースをダウンロードし、最新のLibに入れ替える

cakephp/cakephp at 2.x


Theme

Error: ThemeController could not be found.

Error: Create the class ThemeController below in file: app/controllers/theme_controller.php

<?php

class ThemeController extends AppController {
var $name = 'Theme';
}