I know several folks are working hard on this module, and I really appreciate that. I get the impression that this sub-module hasn't gotten much attention yet in the D7 port, so maybe this is a known issue... but I didn't find it mentioned in the issue queue, so here goes:
this is in http://example.com/admin/store/subscriptions/create
Error messages:
Notice: Undefined index: form in theme_uc_recurring_subscription_role_items() (line 918 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Warning: Invalid argument supplied for foreach() in element_children() (line 6134 of /var/www/omaudits/public_html/includes/common.inc).
Notice: Undefined index: recurring_intervals in uc_recurring_subscription_product_form_validate() (line 529 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$initial_charge_value in uc_recurring_subscription_product_form() (line 183 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$initial_charge_unit in uc_recurring_subscription_product_form() (line 196 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined variable: default_options in uc_recurring_subscription_product_form() (line 243 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined variable: default_option in uc_recurring_subscription_product_form() (line 244 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$subscription in uc_recurring_subscription_product_form() (line 281 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 281 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$subscription in uc_recurring_subscription_product_form() (line 289 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 289 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$subscription in uc_recurring_subscription_product_form() (line 297 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 297 of /var/www/omaudits/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Then the "Add a payment button" doesn't appear to actually do anything.
Then there are no role options showing in the roles fieldset in step 3. (see attached screenshot). (I DID set role assignment settings in product settings.)
Submitting the form results in errors and non-success.
Thanks!
Comments
Comment #1
rickmanelius CreditAttribution: rickmanelius commentedBeing addressed here #992252: uc_recurring Drupal 7 port
Comment #2
rickmanelius CreditAttribution: rickmanelius commentedJust an FYI. I think the roles have to be something other than the default authenticated, anonymous, and admin. I created one called 'member' and it appears.
Comment #3
phen CreditAttribution: phen commentedThanks! I saw that you were working on it.
Comment #4
IBouglas CreditAttribution: IBouglas commentedHi all.
I've been trying to get this module working with Paypal WPS and get errors and problems all along the process. I've put together a bare bones test site with only the modules necessary for uc Recurring. I've loaded the latest dev version today and get the following when trying to create a subscription. This is a localhost development environment running xampp.
Notice: Undefined property: stdClass::$initial_charge_value in uc_recurring_subscription_product_form() (line 194 of C:\xampp\htdocs\JKTest\sites\all\modules\uc_recurring\modules\uc_recurring_subscription\uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$initial_charge_unit in uc_recurring_subscription_product_form() (line 207 of C:\xampp\htdocs\JKTest\sites\all\modules\uc_recurring\modules\uc_recurring_subscription\uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$subscription in uc_recurring_subscription_product_form() (line 277 of C:\xampp\htdocs\JKTest\sites\all\modules\uc_recurring\modules\uc_recurring_subscription\uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 277 of C:\xampp\htdocs\JKTest\sites\all\modules\uc_recurring\modules\uc_recurring_subscription\uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$subscription in uc_recurring_subscription_product_form() (line 285 of C:\xampp\htdocs\JKTest\sites\all\modules\uc_recurring\modules\uc_recurring_subscription\uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 285 of C:\xampp\htdocs\JKTest\sites\all\modules\uc_recurring\modules\uc_recurring_subscription\uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$subscription in uc_recurring_subscription_product_form() (line 293 of C:\xampp\htdocs\JKTest\sites\all\modules\uc_recurring\modules\uc_recurring_subscription\uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 293 of C:\xampp\htdocs\JKTest\sites\all\modules\uc_recurring\modules\uc_recurring_subscription\uc_recurring_subscription.admin.inc).
Comment #5
jboeger CreditAttribution: jboeger commentedI am also having the same problem on a pretty lean but otherwise functioning online install. I created 3 new roles.
Notice: Undefined property: stdClass::$initial_charge_value in uc_recurring_subscription_product_form() (line 194 of /home/alamedaw/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$initial_charge_unit in uc_recurring_subscription_product_form() (line 207 of /home/alamedaw/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$subscription in uc_recurring_subscription_product_form() (line 277 of /home/alamedaw/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 277 of /home/alamedaw/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$subscription in uc_recurring_subscription_product_form() (line 285 of /home/alamedaw/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 285 of /home/alamedaw/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined property: stdClass::$subscription in uc_recurring_subscription_product_form() (line 293 of /home/alamedaw/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 293 of /home/alamedaw/public_html/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Comment #6
dewolfe001 CreditAttribution: dewolfe001 commentedI have similar errors. I did create new roles before I went to the subscription page. In case this was a problem associated with an incomplete install, I did uninstall and reinstall the ubercart modules.
Comment #7
antonnyman CreditAttribution: antonnyman commentedHave anyone had any luck with this?
Comment #8
samhassell CreditAttribution: samhassell commentedGive this patch a shot. It supplies default values if the values for the form have not already been set.
*edit: this is generated from the uv_recurring_subscription directory.
Comment #9
samhassell CreditAttribution: samhassell commentedThere were popping up after submit:
Should be fixed in the attached cumulative patch, which is correctly generated from the modules root directory (not the submodule's directory)
Comment #10
antonnyman CreditAttribution: antonnyman commentedAfter saving the subscription I get these errors.
I've patched the module with #9.
Any help?
Comment #11
Xomby CreditAttribution: Xomby commentedany more on this? Still seems relevant to latest dev versions.
Comment #12
iwant2fly CreditAttribution: iwant2fly commentedI have a clean install of Drupal, only the Ubercart modules and its dependencies installed. I have not created any roles other than the default ones provided. When I go to admin/store/subscriptions/create I get the following errors:
Comment #13
survivestyle CreditAttribution: survivestyle commentedI have the same issue as #10 after applying the patch. Anyone still working on this? If you are, thank you, you are awesome, and I appreciate your hard work.
But... would you let all us poor shlubs know if this is on your radar and may be fixed? Pllease?
Comment #14
mmilano CreditAttribution: mmilano commentedI submitted a patch that addresses the errors in #12. I put it in a new ticket because it looks like this issue has changed direction from the original issue.
The patch is here: #1782700: Subscription editor page errors (Patch)
Be sure to use the second patch in the thread.
Comment #15
julianoamadeu CreditAttribution: julianoamadeu commentedSame issue as #10.
Comment #16
alladdin CreditAttribution: alladdin commentedI am using dev-version but still see errors:
Notice: Trying to get property of non-object в функции _uc_recurring_subscription_option() (строка 207 в файле /home/sitealls/public_html/consierge/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.module).
Notice: Trying to get property of non-object в функции _uc_recurring_subscription_get_product_features() (строка 190 в файле /home/sitealls/public_html/consierge/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.module).
Notice: Trying to get property of non-object в функции uc_recurring_subscription_overview() (строка 49 в файле /home/sitealls/public_html/consierge/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Undefined index: в функции uc_recurring_subscription_overview() (строка 49 в файле /home/sitealls/public_html/consierge/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object в функции uc_recurring_subscription_overview() (строка 49 в файле /home/sitealls/public_html/consierge/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object в функции uc_recurring_subscription_overview() (строка 49 в файле /home/sitealls/public_html/consierge/sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Any help please
Comment #17
payam321 CreditAttribution: payam321 commentedIm getting these error, i think drupal kickstart is much better than this bullshet ubercart
These are my error after clicking on subscription button on product managment:
Notice: Undefined index: 0 in uc_recurring_subscription_product_form() (line 169 of /hermes/bosweb25c/b1205/ipg.sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc).
Notice: Trying to get property of non-object in uc_recurring_subscription_product_form() (line 169 of /hermes/bosweb25c/b1205/ipg.sites/all/modules/uc_recurring/modules/uc_recurring_subscription/uc_recurring_subscription.admin.inc)
Comment #18
payam321 CreditAttribution: payam321 commentedubercart 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
Comment #19
mmilano CreditAttribution: mmilano commented@payam321, 0 contributions in almost 4 years and trolling several threads on how bad UC is seems like much bigger "bullshet" to me.
The course of action is simple:
1) Use something else
2) fix it
3) or pay someone to fix it for you, and contribute the solution back.
Your posts are constructive to no one.
Besides, if you think Ubercart os "too huge" for your needs, why are you still bothering with it? https://drupal.org/node/2210995
UC served its purpose for many years and some of the same developers who put a lot of work into UC have moved to put a lot of work into Drupal Commerce, which you're praising in the same sentence. The focus is there now as far as an all encompassing commerce solution for Drupal.
payam321's other UC posts:
https://drupal.org/node/834128
#1985490: Trying to get property of non-object in uc_recurring_subscription_overview line 49
#992252: uc_recurring Drupal 7 port
Comment #20
AlfTheCat CreditAttribution: AlfTheCat commentedPatch from #9 fails partially to apply but it does fix the errors!
Comment #21
tinker CreditAttribution: tinker commentedIf you are coding fixes for 7.x you may want to look at #2020303: Subscription manager overwriting SKUs and problems with attribute options. I found *many* issues with the Subscription manager that were fixed in that patch which was for 6.x. The code should be very similar if not identical.