screenshot: http://prntscr.com/1znae
im getting an error when i try to delete a blank line from a manual product entry.
Notice: Trying to get property of non-object in uc_stock_uc_order_product_delete() (line 152 of /home/xe/public_html/dev/sites/all/modules/ubercart/uc_stock/uc_stock.module).
Notice: Trying to get property of non-object in uc_stock_uc_order_product_delete() (line 152 of /home/xe/public_html/dev/sites/all/modules/ubercart/uc_stock/uc_stock.module).
Notice: Trying to get property of non-object in uc_stock_adjust() (line 171 of /home/xe/public_html/dev/sites/all/modules/ubercart/uc_stock/uc_stock.module).
Notice: Undefined index: op in uc_order_edit_form_submit() (line 1167 of /home/xe/public_html/dev/sites/all/modules/ubercart/uc_order/uc_order.admin.inc).
Comment | File | Size | Author |
---|---|---|---|
#1 | 1178350.patch | 1.59 KB | TR |
Comments
Comment #1
TR CreditAttribution: TR commentedThis patch should fix the first three notices. Please test it.
Comment #2
TR CreditAttribution: TR commentedCommitted patch in #1.
Last PHP Notice in original report has not been addressed yet:
Notice: Undefined index: op in uc_order_edit_form_submit() (line 1167 of /home/xe/public_html/dev/sites/all/modules/ubercart/uc_order/uc_order.admin.inc).
Comment #3
TR CreditAttribution: TR commentedRetitling to reflect remaining problem.
Comment #4
longwaveFixed in http://drupalcode.org/project/ubercart.git/commitdiff/e8de869