Active
Project:
Ubercart Restrictions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2012 at 19:42 UTC
Updated:
13 Jan 2012 at 23:23 UTC
I'm receiving the following two errors when I review the order at checkout after installing UC Restrictions:
Notice: Undefined index: cart_contents in uc_restrictions_delivery_zone_checkout_form_validate() (line 115 of C:\wamp\www\drupal\sites\all\modules\uc_restrictions\uc_restrictions_delivery_zone\uc_restrictions_delivery_zone.module).
Warning: Invalid argument supplied for foreach() in uc_restrictions_contains_restricted() (line 237 of C:\wamp\www\drupal\sites\all\modules\uc_restrictions\uc_restrictions.module).
Any ideas? I'm using Drupal 7.10.
Thanks
Comments
Comment #1
bob.hinrichs commentedThanks for this. They have changed the structure of the checkout forms. I've tried here to adapt the code to it. However I am getting a slight problem, in that the form will not fill from a pre-entered selected address (only billing, not delivery). I don't see how this is the result of my module but it could be. Let me know if you are still having difficulties.