Jump to content

Possible bug on PS 1.7.4 beta 1 on PHP 7.2.5


xavi

Recommended Posts

Hello,

I am testing prestashop 1.7.4 on linux php 7.2.5 and I think I have found a bug. When you access admin page for the first time, it throws a "cannot use object as array" error.

It's on src/Adapter/Security/Admin.php line 82:

&& isset($event->getRequest()->attributes['exception'])

When I was testing it locally (windows php 7.2.0) it worked properly.

I commented this line and I could access the login page properly. Uncommenting it didn't make the error appear again.

Regards.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...