After installing on a clean Drupal 7.8 install, I get this following error on a product that has a recurring fee feature enabled:
* Notice: Undefined property: stdClass::$order_id in uc_recurring_get_fees() (line 809 of /Users/**/Sites/**/sites/all/modules/uc_recurring/uc_recurring.module).
* Notice: Undefined property: stdClass::$order_product_id in uc_recurring_get_fees() (line 813 of /Users/**/Sites/**/sites/all/modules/uc_recurring/uc_recurring.module).
* Notice: Undefined property: stdClass::$order_product_id in uc_recurring_get_fees() (line 813 of /Users/**/Sites/**/sites/all/modules/uc_recurring/uc_recurring.module).
* Notice: Undefined property: stdClass::$order_id in uc_recurring_get_fees() (line 828 of /Users/**/Sites/**/sites/all/modules/uc_recurring/uc_recurring.module).
This error can be ignored - checkout and payment seems successful, but then when time rolls around for the recurring payment to happen as scheduled, I then get the following errors which prevent a recurring payment being made:
* Notice: Undefined offset: 0 in uc_order_state_default() (line 1959 of /Users/**/Sites/**/sites/all/modules/ubercart/uc_order/uc_order.module).
* Notice: Undefined index: attributes in uc_attribute_uc_order_product_alter() (line 478 of /Users/**/Sites/**/sites/all/modules/ubercart/uc_attribute/uc_attribute.module).
* Notice: Undefined offset: 0 in uc_order_state_default() (line 1959 of /Users/**/Sites/**/sites/all/modules/ubercart/uc_order/uc_order.module).
* Notice: Undefined index: attributes in uc_attribute_uc_order_product_alter() (line 478 of /Users/**/Sites/**/sites/all/modules/ubercart/uc_attribute/uc_attribute.module).
Any help would be appreciated, in an ideal world I would love to have this module working asap for a current project requiring recurring payments.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | uc_recurring-1268010-2.patch | 845 bytes | agileware |
| #1 | uc_recurring-1268010-1.patch | 556 bytes | agileware |
Comments
Comment #1
agileware commentedThese two sets of errors are different issues so making this for the first one and I'll create a new issue for the second.
This patch fixes it for me.
Comment #2
agileware commentedNew issue for the second part is #1278402: Undefined indexes and offsets when a recurring payment is charged
Comment #3
agileware commentedMore related notices > new patch.
Comment #4
agileware commentedMarking as duplicate of #992252: uc_recurring Drupal 7 port because this patch has been rolled into the meta patch at #992252-21: uc_recurring Drupal 7 port.