Store no longer lets me edit products

Permalink
Someone has edited a product on the site. Now, when the user arrives at the product page, they can select how many they want, but previously they could only buy 1.

Now, when I got into Products, It gives me:

An unexpected error occurred.
Call to a member function getFrom() on null


This also happens when you select a negative number to buy.

Without a backup, is there an easy way to revert this?


Addendum:

Error from the logs shows:

Exception Occurred: /home/public_html/packages/community_store/src/CommunityStore/Product/Product.php:928 Call to a member function getFrom() on null (0)

GeeEM
 
mnakalay replied on at Permalink Reply
mnakalay
Hello, The first thing you should do is make sure you have Community Store's latest version. It gets updated all the time.

The latest version is 2.3.1 and yu can find it there:https://github.com/concrete5-community-store/community_store/release...

If that doesn't fix the problem you should post an issue report here:https://github.com/concrete5-community-store/community_store/issues...

Alternatively, you could join us in Slack and post about your issue in the e-commerce channel. You can join here:https://www.concrete5.org/slack...