Closed (works as designed)
Project:
Ubercart
Version:
7.x-3.11
Component:
Product kits
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2018 at 14:57 UTC
Updated:
19 Nov 2018 at 14:06 UTC
Jump to comment: Most recent

Comments
Comment #2
tr commentedThis was on the backend order administration? Please list the steps you took to add the product kit and the URL you used.
No items shown where? In the backend order admin? On the product kit node page?
I don't know what this means. Please provide more information about what steps are needed and where you are seeing this duplication.
The PHP module is not used by Ubercart, so this notice is not due to anything in Ubercart.
Again, where does this happen? What URL? SKU is a base field, which in Drupal means it doesn't show up on the "manage fields" tab, only on the "manage display" tab.
Did you update core Drupal at the same time? Did you update any other module? Did you run update.php? Are there any errors in your web server log or dblog? Have you tested with the default theme to see if these things are theme related? Have you searched the issue queue for any similar issues (open AND closed issues - 7.x-3.8 is very old so most upgrade issues would have been raised long ago)? If any of these problems have been seen before there is probably an existing issue for them and there may even be patches that are awaiting community review. If this has already been reported you could help by participating in those issues - applying any proposed patches and seeing if they fix your problem then posting your experience in those other issues.
Comment #3
garethb_uk commentedlogs:
Notice: Undefined index: sub_products in uc_product_kit_uc_order_product_alter() (line 1032 of ../sites/default/modules/custom/ubercart/uc_product_kit/uc_product_kit.module).
Notice: Undefined property: stdClass::$order_product_id in uc_order_edit_products_form() (line 396 of ../sites/default/modules/custom/ubercart/uc_order/uc_order.order_pane.inc).
Notice: Undefined property: stdClass::$order_product_id in uc_order_edit_products_form() (line 400 of ../sites/default/modules/custom/ubercart/uc_order/uc_order.order_pane.inc).
Any help would be appreciated
I have been using Drupal for years, but only really a newbie at this level of development
Comment #4
garethb_uk commentedSorry missed the other questions:
>SKU is missing when you view the product kit under content. It is there in version 3.8
>Empty lines are when you add an order
>Once you save the order items are duplicated
>Sorry I have added the correct logs now
So we go to create order in store, under administration.
Hope that helps. Be gentle i'm new at this :-)
Comment #5
garethb_uk commentedComment #6
garethb_uk commentedI have done a manual upgrade from 3.8 to 3.9 and get the same error:
Notice: Undefined index: sub_products in uc_product_kit_uc_order_product_alter() (line 1032 of ../sites/default/modules/custom/ubercart/uc_product_kit/uc_product_kit.module)
Also the product kit content type is missing the SKU field, this was showing in version 3.8, so suspect this is part of the problem. We are stuck now and can't upgrade as it breaks our product kits.
Comment #7
garethb_uk commentedComment #8
garethb_uk commentedI am so sorry, it appears that a unique Product Kit SKU is something that had been added by a developer before my time.
I found out by doing a clean install of Drupal/UBERCART versions 3.8. Although this would be nice to have.
Sorry!!!!