Illegal string offset 'key' error


when i press the login button it gives me this error. Please help me to solve this.

Is it CakePHP 2? What is your PHP version?

yes it is cakephp-2.10.2.

What is your PHP version?

MY PHP version is 7.0.

Strange Cake 2.10 is compatible with PHP 7.0, but the error message seems to complaining about incompability.

1 Like