Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Ubercart 3.0 + Drupal 7.12
I get this error after i click on the "Option Prices" tab.
Notice: Undefined variable: object in uc_price_per_role_option_prices_form() (line 386 of /srv/www/clients/client1/web1/web/sites/all/modules/uc_price_per_role/uc_price_per_role.module).
Notice: Trying to get property of non-object in uc_price_per_role_option_prices_form() (line 386 of /srv/www/clients/client1/web1/web/sites/all/modules/uc_price_per_role/uc_price_per_role.module).
Comments
Comment #1
rexgonzaga23 CreditAttribution: rexgonzaga23 commentedI also encountered this problem ..Anyone knows the solution ??
Comment #2
goodeit CreditAttribution: goodeit commentedHere's a fix for this error. On line 386:
Comment #3
DanZ CreditAttribution: DanZ commentedCommitted #2. Thanks!