Oh, the errors... appearing on /admin/store/subscriptions:

Notice: Trying to get property of non-object in uc_recurring_subscription_overview() (line 49 of /var/www/clients/client7/web29/web/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).

D7.22
Ubercart 7.x-3.4
UC Recurring Payments and Subscriptions 7.x-2.x-dev

I may have this set up incorrectly - when I created these subscriptions, it looked like the recurring attributes were added automatically. In an attempt to streamline the checkout process (and remove options from the client) I removed the attributes at /node/##/edit/attributes and this seemed to unset the default subscription interval variable at /node/##/edit/subscription.

It looks like recurring subscriptions require this attribute, which is too bad - if any attributes are present, the "buy now" button forces users to go to the product page and select the one and only available payment option.

Are there any ways around this, or am I just missing a setup step?

Comments

payam321’s picture

Issue summary: View changes

ubercart is really bullshet, I spend few weeks designing my website on drupal 7, finally at the subscription point ubercart links are broken for drupal 7, now i have to chose another method...

after 2 years everybody had this problem and still not solved,,,,,

these are my error;

Notice: Trying to get property of non-object in _uc_recurring_subscription_add_interval_form() (line 509 of /hermes/bosweb25c/b1205/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined variable: default_option in _uc_recurring_subscription_add_interval_form() (line 516 of /hermes/bosweb25c/b1205/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc

ritesh.daffodil’s picture

I have made change in uc_recurring_subscription.admin.inc file inside uc recurring
-- if ($products[$i]->option->default_option) {
++ if (isset($products[$i]->option->default_option)) {

It works for me