Closed (cannot reproduce)
Project:
Ubercart Discounts (Alternative)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2009 at 03:17 UTC
Updated:
8 Jun 2011 at 16:26 UTC
Jump to comment: Most recent file
Comments
Comment #1
ezra-g commentedThis patch should resolve the error.
Comment #2
dave bruns commentedJust want to confirm that this patch resolved the "invalid arugument..." error for me. Brought Ubercart up to 2.2, enabled discounts alt, verified the error, installed the patch, and the error was gone.
Comment #3
DanielJohnston commentedConfirmed that this patch resolved the invalid argument error.
Comment #4
ezra-g commentedCommitted. Thanks for the reviews, everyone!
Comment #6
lilacbow commentedI get this same error for a different line. It occurs when I SUBMIT an order. I'm just finishing building my own site. I am
a newbie.
* warning: Invalid argument supplied for foreach() in /home/clients/websites/w_q3c4v8/public_html/q3c4v8/sites/all/modules/uc_discounts_alt/uc_discounts/uc_discounts.module on line 233.
* We're sorry. An error occurred while processing your order that prevents us from completing it at this time. Please contact us and we will resolve the issue as soon as possible.
Comment #7
jrust commentedHaven't been able to reproduce so I'm guessing it's fixed in the latest version.
Comment #8
yktdan commentedI get the error when using the admin path to create an order for a walk-in customer. I think it is because there is nothing in the product block on the screen which has the remark:
Loading product information... (If nothing happens, make sure you have Javascript enabled.)
JS is enabled.
However the view tab shows a product in the order.
The error may be in the admin path create order code such that it does not interact with discounts properly.