WordPress.org

Forums

WordPress Simple Paypal Shopping Cart
[resolved] Warning: Invalid argument supplied for foreach() (7 posts)

  1. Melbourne Cup Odds
    Member
    Posted 10 months ago #

    I am seeing this warning appear on my weebsite. This coincides with an email i reeceived from hostgator indecating they updated their php version across their servers.

    Warning: Invalid argument supplied for foreach() in /home3/xxxxxx/public_html/xxxxxx.com.au/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 80

    Is this plugin compatible with the latest php?

    How do I fix this without reeverting back to old pup version?

    https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/

  2. mra13
    Member
    Plugin Author

    Posted 10 months ago #

    Yes, the plugin is compatible with latest version of PHP. can you share a link to your shopping cart page so I can take a look?

  3. Security Cameras
    Member
    Posted 10 months ago #

    Thanks for your reply.

    here is a link to the page - http://solidgoldsecurity.com.au/

  4. mra13
    Member
    Plugin Author

    Posted 10 months ago #

    The PHP session looks to be broken on your site. This is something your hosting provider need to fix. The following post has some help on it:
    http://www.tipsandtricks-hq.com/forum/topic/php-session-not-working-correctly

  5. Ximbalo
    Member
    Posted 10 months ago #

    I am having the same problem trying to use your plugin, and FYI -- I really think you should look a little more deeply into this, b/c when I try to Google this message, you can quickly see how many other ( hundreds ) of sites are showing the error:
    https://www.google.com/search?q=+Invalid+argument+supplied+for+foreach%28%29+plugins%2Fwordpress-simple-paypal-shopping-cart%2Fwp_shopping_cart.php+on+line+80

    I'm bummed b/c yours looks clearly like the best solution for my current requirements... but I can't use it until you fix this -- so I'll have to go and try/test all the other lesser-looking plugins for now. Please let me know if or when a solution is in place -- so I can switch back to using your plugins instead.

    Thanks,

    XIMBALO

  6. mbrsolution
    Member
    Plugin Contributor

    Posted 10 months ago #

    Hi @Ximbalo, this support thread has being marked as resolved. It would be an advantage to you if you start a new support thread. That would increase your chances of getting help quicker.

    Kind regards

  7. Ximbalo
    Member
    Posted 10 months ago #

    Thank You for that. Doing so now.

Reply

You must log in to post.

About this Plugin

About this Topic