- 🇬🇷Greece agelospanagiotakis
there seems to be an if statement missing
if (!empty($term_wrapper->tid)){ $tids[$product_id][] = $term_wrapper->tid->value(); }
When setting up a discount for Buy 2 get one free based on Product Category . get this error in the logs
PHP Fatal error: Call to a member function value() on null in /modules/commerce_discount_extra/commerce_discount_extra.module on line 923
Is there a patch to fix this ?
Active
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
there seems to be an if statement missing
if (!empty($term_wrapper->tid)){
$tids[$product_id][] = $term_wrapper->tid->value();
}