Hi Dan hows things?

I can see you have been really busy with DPU :).

I was wondering though before I try installing and using it again if you ever managed to fix the error in the log files as posted here:

http://www.zen-cart.com/forum/showpo...&postcount=791

Quote Originally Posted by CybaGirl View Post
Hi Dan,

Just checked my error logs today and it seems I am getting the exact same error that Amy was getting in her quoted post above and your reply in which you replied with the above.

Like Amy everything seems to be working fine apart from this error appearing in the error log which is as follows:

Code:
[17-Jul-2011 11:48:27] PHP Warning:  reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home/my_site/public_html/includes/classes/dynamic_price_updater.php on line 194
[17-Jul-2011 11:48:27] PHP Warning:  Variable passed to each() is not an array or object in /home/my_site/public_html/includes/classes/dynamic_price_updater.php on line 195
Now on lines 194 and 195 it states the following.

Code:
        reset($this->_shoppingCart->contents[$this->_post['products_id']]['attributes']);
        while (list($option, $value) = each($this->_shoppingCart->contents[$this->_post['products_id']]['attributes'])) {
So I am wondering if by any chance you have had the time to figure out what is causing this error and how to fix it?

Thanks.

PS: Still haven't had time to check the tax fix yet but haven't forgotten about it and will look into it very soon :).


It also seems there is another fellow having this same issue as per his recent post a couple pages back.

http://www.zen-cart.com/forum/showpo...&postcount=860

Quote Originally Posted by siliconbug View Post
I keep getting the same problem as post #791.
Code:
PHP Warning:  reset() expects parameter 1 to be array, null given in /includes/classes/dynamic_price_updater.php on line 197
PHP Warning:  Variable passed to each() is not an array or object in /includes/classes/dynamic_price_updater.php on line 198
Do I miss any fix in this thread?
If you can let me know if this issue has been resolved when you get a spare moment that would be great :).

Thanks.