Results 1 to 10 of 1684

Hybrid View

  1. #1

    Default Re: Dynamic Price Updater

    Quote Originally Posted by nolsowski View Post
    I just noticed I have some errors in my error log. Could someone tell me what they mean and how to fix them please?

    PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /home/fromprop/public_html/includes/classes/dynamic_price_updater.php on line 194, referer: http://frompropertorocker.com/surfs-...clip-p-23.html

    PHP Warning: Variable passed to each() is not an array or object in /home/fromprop/public_html/includes/classes/dynamic_price_updater.php on line 195, referer: http://frompropertorocker.com/2-scoo...clip-p-15.html

    I have these same ones for a lot of my products.

    Thanks!
    Okay I just checked my error log this morning and they went away. However I noticed it came back when I am adding new products. It will have the new product that I added in the link.

  2. #2
    Join Date
    Jul 2009
    Posts
    122
    Plugin Contributions
    0

    Default Re: Dynamic Price Updater

    Quote Originally Posted by rainestudios View Post
    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
    Quote Originally Posted by Chrome View Post
    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 :).

 

 

Similar Threads

  1. v151 Help with dynamic price updater
    By anderson6230 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Jul 2014, 08:52 AM
  2. v139h Dynamic Price Updater 3.0 Help!
    By Newbie 2011 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 12 Mar 2014, 06:46 AM
  3. Dynamic Price Updater Error
    By Inxie in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 Oct 2012, 06:19 PM
  4. Alternative to Dynamic Price Updater?
    By thebigkick in forum General Questions
    Replies: 0
    Last Post: 9 Jul 2012, 11:41 PM
  5. Dynamic Price Updater with href
    By maxell6230 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Mar 2012, 12:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg