Ubercart Warnings , using wampserver ..Warning: Creating default object from empty value in uc_s
Posted by artist_nz on November 21, 2012 at 11:22am
Ok before i begin i just want to say that i am very new/complete novice to php and wampserver
I have installed drupal 7 and ubercart to my Hosting provider and it seems to run fine with the hosting provider.
However i want to install to my home computer so that i can make changes etc without interfering with the master copy on the hosting service.
I have installed wampserver and created same directory and permissions as my provider, i zipped the database and imported it to wampserver. with the same database name and permissions.
Ok the drupal runs fine the ubercart works ok until you go to checkout and the following warnings appear.
Warning: Creating default object from empty value in uc_shipping_zones_get() (line 60 of C:\wamp\www\drupal\sites\all\modules\uc_global_quote\uc_shipping_zones\uc_shipping_zones.module).
Warning: Creating default object from empty value in uc_shipping_zones_get() (line 70 of C:\wamp\www\drupal\sites\all\modules\uc_global_quote\uc_shipping_zones\uc_shipping_zones.module).
i have also tried installing drupal 7 and ubercart from scratch on my wampserver but it still gets the same warnings.
i cant find any explanation for this and why doesn't it have this problem at the checkout on my web site at my hosting provider? any help greatly appreciated.