Hi All,

I have installed Drupal 7 and ubercart module.

When I add item n wishlist and click on 'Add to cart' button from the wishlist, complete the sandbox paypal payment.

I got the success message saying 'your order is complete' but I got the following errors

Notice: Trying to get property of non-object in uc_product_kit_uc_update_cart_item() (line 1162 of mysitename/sites/all/modules/ubercart/uc_product_kit/uc_product_kit.module).

Notice: Undefined property: stdClass::$products in uc_product_kit_uc_update_cart_item() (line 1162 of mysitename/sites/all/modules/ubercart/uc_product_kit/uc_product_kit.module).

Please help me. Your help will be highly appreciated.

Comments

John_B’s picture

This belongs in the post-installation forum, to which you can move it.

Why do you regard this notice as 'urgent!!'? If you do not like the look of the message, you can turn off error messages at admin/config/development/logging. I assume your site is working normally, and you do not say it is not, though I agree that these PHP notices do not look pretty!

It may be worth studying the issue queues for uc_product_kit, and if necessary raising an issue there, being sure to report which version of PHP you are using.

Jaypan’s picture

https://www.drupal.org/node/643758

As John said, you can move the thread by editing the original post and choosing 'Post Installation' as the forum.

Thank you.

I will soon be leaving the Drupal forums permanently. To understand why, please see this thread.