Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi Ximbalo,

    For what’s it’s worth, this plugin was working fine for me until I upgraded both it and WordPress (from 3.6 to to 3.9.1). Then I started getting the same error you were. I think it may have something to do with the new version of WordPress — maybe when you upgrade it deletes the php.ini file in the website root direction, which then screws up this plugin.

    I checked this page referenced in another post:

    http://www.tipsandtricks-hq.com/forum/topic/php-session-not-working-correctly

    and then I called my hosting provider (GoDaddy). The GoDaddy tech was able to go to my site and see the error. I read him this from the tips and tricks link above:


    1. Issue related to PHP session setup

    Occasionally a server may not have it’s PHP session configured correctly. Please note that you won’t be able to use a shopping cart software without the PHP session working correctly. It is your hosting provider’s responsibility to give you a server where the PHP session is setup properly. Contacting your hosting provider and requesting them to fix it is a good idea.

    Making the PHP session to work is not very hard. You mainly have to make sure the following two things are in place:

    1) Check if your server’s PHP config is set to allow sessions.
    2) Check to make sure the session save path has been configured correctly. This is just a matter of adding a line similar to the following in the php.ini file:

    session.save_path = /tmp

    It is best to contact your hosting provider so they can do this for you. All you have to do is request them to fix the PHP session issue on your server and they should know what to do.

    He put a php.ini file into the root directory of my site. The error immediately went away, and I was also able to update the Quantity (where before it had just returned a blank page when I updated the Quantity and hit Enter).

    http://www.hiromitaichi.org/classes/online-payments/

    So if you upgraded WP recently and you don’t have a php.ini or a php5.ini file in your website root, then you might try calling your hosting provider to see if they can add one.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi there, one of the plugin developers will look into this issue.

    Kind regards

    I’m having a similar problem with the “Warning: Invalid argument supplied for foreach()”. Doesn’t show in Chrome but does in Internet Explorer and Firefox.

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi @dreamingsheep, have you tried the options suggested by @gwendibley?

    I have tried all of the requested measures listed in the posts above to no avail. Please advise ASAP. This is causing visual impact on my client’s website – slider is disproportionate due to error message. Slider works fine when plug-in is disabled.

    http://walkbetweentheworlds.com/

    @lotus-media: If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.

    Plugin Author mra13

    (@mra13)

    @lotus-media, Go to the settings menu of this plugin and turn off the following option and that should fix the issue:

    Reset Cart After Redirection to Return Page

    I will also release a new version that should address this issue altogether.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warning: Invalid argument supplied for foreach() … Line 80’ is closed to new replies.