Jump to content

[SOLVED] Error CartPresenter.php when using certain combinations


Recommended Posts

Found something interesting today,

 

Issue:

I started getting CartPresenter.php on line 84 when certain combinations were used for a product.

 

Solution:

Found that if the attribute values have white spaces, (Attribute: 'Color', Value: 'Dark Red'), the issue persists. However, if I remove the white space, everything works normally. Also, adding a hyphen instead of the white space was throwing the same exception.

 

Erroneous values: 'Dark Red', 'Dark-Red'

Solution values: 'DarkRed'

 

Hope this helps!

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...