Skip to content

DebugKit not compatible with CakePHP v2.9 #450

Description

@cniklas

Got this error in my console when trying to use the i18n Shell:

Fatal error: Class 'Object' not found in C:\xampp\htdocs\mywh\Plugin\DebugKit\Model\ToolbarAccess.php on line 22

In the CakePHP 2.9.0 release log it says:

The Object class has been deprecated due to upcoming PHP7 collisions. It has been renamed to CakeObject to avoid collisions with new PHP reserved words.

Guess there's the rub.

I then changed line 22 in DebugKit\Model\ToolbarAccess.php to:
class ToolbarAccess extends CakeObject
Now it seems to work, but can someone please prove my soluton and submit a fix here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions