Originally Posted by
rainestudios
I'm still getting this error in my logs constantly:
It doesn't seem to affect the functionality, everything is displaying fine in my shop, but this can't be good, right?
thanks,
amy
Originally Posted by
Chrome
Hi
@amy: You're quite right, that shouldn't be... I'm quite surprised it's actually still working
... I'll check out your site see if I can see any weird data getting thrown about
Cheers
Dan
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 :).
Bookmarks