Since installing this module, I get this issue on just about every page:
Notice: Trying to get property of non-object in uc_product_minmax_form_alter() (line 431 of /var/www/websites/mywebsite.com/sites/all/modules/uc_product_minmax/uc_product_minmax.module).
Notice: Trying to get property of non-object in uc_product_minmax_form_alter() (line 434 of /var/www/websites/mywebsite.com/sites/all/modules/uc_product_minmax/uc_product_minmax.module).
Notice: Trying to get property of non-object in uc_product_minmax_form_alter() (line 437 of /var/www/websites/mywebsite.com/sites/all/modules/uc_product_minmax/uc_product_minmax.module).
Notice: Undefined variable: output in uc_product_minmax_form_alter() (line 441 of /var/www/websites/mywebsite.com/sites/all/modules/uc_product_minmax/uc_product_minmax.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | uc_product_minmax-fix-notices-1403634-5.patch | 1.96 KB | daniel.moberly |
Comments
Comment #1
Eduardo_Martinez commentedSolved partially at http://drupal.org/node/1131430
Comment #2
lokolo commentedHas anybody an idea to solve this?
Comment #3
bmunslow commentedFind this function in uc_product_minmax.module:
'uc_product_minmax_form_alter'
Replace the whole function with this code:
Comment #4
jodyfr commentedThanks! The replacement code in #3 fixed the problem for me.
Comment #5
daniel.moberly commentedSubmitting a patch that fixes this issue