concretecms-community-store / community_store

An open, free and community developed eCommerce system for Concrete CMS
https://concretecms-community-store.github.io/community_store/
MIT License
106 stars 66 forks source link

Adding a new product list filter - Undefined variable $groupMatchAny #753

Closed webpresso-ch closed 1 year ago

webpresso-ch commented 1 year ago

After updating to the latest Community-Store version, I get the following error message when adding a new product filter Block:

Undefined variable $groupMatchAny
/packages/community_store/blocks/community_product_filter/edit.php(92):  Whoops\Exception\ErrorException->null

If I set $this->set('groupMatchAny', ''); in /packages/community_store/blocks/community_product_filter/controller.php in the add() function everything works as expected.

Mesuva commented 1 year ago

I believe this one has been fixed, it just hasn't made it's way into a release yet: https://github.com/concretecms-community-store/community_store/commit/a0212f76bd87ed05c0aa2e39618680660509118f

I'm overdue for putting out a new release, will be looking at that soon

webpresso-ch commented 1 year ago

Thanks I had missed that in the controller in the branch master. Sorry for double issue...

Mesuva commented 1 year ago

No problem at all!