Hi,
I don't see why it would do that. I'm not able to reproduce the problem on my end.
Where do you get that warning ?
Could you temporarily add the line of code below:
echo '<pre>';var_dump(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS));echo '</pre>';
Just before that line 157 in /administrator/components/com_hikashop/classes/discount.php and reproduce the error ?
That should display a callstack of the situation until where the error happens so that we can better understand why it's displaying that error.
Also, could you provide the screenshot of a discount which doesn't work so that we can better understand the situation ?
Finally, maybe you're talking about coupons not discounts ?
We actually fixed today an issue with coupons not working when only one of the min/max of the quantity or amount restrictions were applied:
www.hikashop.com/support/forum/discount-...-working.html#337142
So if that's your issue, then just downloading again the install package on our website and installing it on yours will fix the problem.