WebSite X5Help Center

 
Richard W.
Richard W.
User

Generic Error - Shopping cart  en

Author: Richard W.
Visited 869, Followers 1, Shared 0  

I just created a new cart and on my test site I'm getting the generic error message when you click on 'Buy'

I've reviewed all the threads and everything is still the same.

https://test.abingdonfencing.org.uk/online-booking.html

Checking in the cart folder there is an error 

Uncaught Error: Call to undefined method ImCart::setCartDataVersion()

/cart/x5cart.php on line 213

Is anyone able to help - I'm using Evo 2021.2.3 on how resolve this error

this appears to be line 213 when the aobve file is opend in Notepad++

'cart' => Configuration::getCart()->setCartDataVersion('y2021m4d1s24718.9369695')->setSendMode('email')->disableEmailNotification()->disableManagerNotification()->setProductsData($products)->setSlugToProductIdMap($slugToProductIdMap),

Posted on the
5 ANSWERS - 2 USEFUL - 1 CORRECT
Aleksej H.
Aleksej H.
Moderator

Hello. I sent a notification about your question to the company employees, expect an answer from them here in the comments.

In the meantime, try different versions 7.2 - 8.

Read more
Posted on the from Aleksej H.
Richard W.
Richard W.
User
Author
Aleksej H.
Hello. I sent a notification about your question to the company employees, expect an answer from them here in the comments. In the meantime, try different versions 7.2 - 8.

Hi Aleksej thanks for the update My PHP version is 7.3 and have already tried version 8.0 and is the same

Read more
Posted on the from Richard W.
MEHMET SEDAT
MEHMET SEDAT
User

Hello. I am having the same problem and already try for the v2.4 and beta v2.5 still the same. I try PHP 7.3 and 7.4 but still the same. Please keep me inform when you have the reply from the company employees too. It is urgent issue causing people can not complete the online purchase.

Read more
Posted on the from MEHMET SEDAT
Richard W.
Richard W.
User
Author
MEHMET SEDAT
Hello. I am having the same problem and already try for the v2.4 and beta v2.5 still the same. I try PHP 7.3 and 7.4 but still the same. Please keep me inform when you have the reply from the company employees too. It is urgent issue causing people can not complete the online purchase.

Mehmet

the v2021.2.4 of EVO released last week solved the issue and we have updated our production website and the shopping cart is now being used  

https://abingdonfencing.org.uk/course-booking.html

Im not using any beta release btw

Read more
Posted on the from Richard W.