Jump to content
SumeetAnand

[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!

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More