• Resolved mobilemindtech

    (@mobilemindtech)


    We just updated the plugin to version 3.7.5 and noticed the following error is now displayed on every page of the site, both the back-end and public side!

    Warning: Invalid argument supplied for foreach() in /[wordpress path]/plugins/wp-slimstat/wp-slimstat.php on line 683

    We have deactivated the plugin until this issue is resolved.

    https://wordpress.org/plugins/wp-slimstat/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Jason Crouse

    (@coolmann)

    One file is missing from your install, for some reason. Please download the zip file, unzip it and upload all the files to your server via FTP. You may want to look at your server logs to see why not all the files were copied during the upgrade.

    I’m also receiving this error after update to 3.7.5 on WP 3.92 Multisite – will try to check file system

    Thread Starter mobilemindtech

    (@mobilemindtech)

    Manually uploading the files via FTP corrected the problem for us.

    Plugin Author Jason Crouse

    (@coolmann)

    I checked the SVN log, and indeed one of the files had been skipped (500 internal server error on WP’s servers, sob). Sorry for the inconvenience, the issue is now fixed.

    Plugin Author Jason Crouse

    (@coolmann)

    PS: a vote for Slimstat would be a nice way to say thank you 😉

    Yep, FTP upload and now all is ok. Thx camu and mobilemindtech

    Hey Camu,

    The issue is not fixed for me at all. I am having the same problem as the other posters. At the top of every page, there is this text:

    Warning: Invalid argument supplied for foreach() in /home/antonioa/public_html/wp-content/plugins/wp-slimstat/wp-slimstat.php on line 683

    I am not someone who can ftp files to my host, because I do not have this type of access. So I cannot use the solution you posted here to fix the problem. Also, I am not sure what .zip file you are referring to when you mention FTP. I don’t see a .zip file on the installation page.

    I have had to disable the plugin for now. Please don’t mark this issue as resolved yet. Are you going to patch the plugin soon? I use this plugin every day.

    thanks

    Plugin Author Jason Crouse

    (@coolmann)

    Leonard,

    use the following workaround: go to Plugins > Editor. Choose WP Slimstat from the dropdown in the top right hand corner, and click SELECT. Now, in the editor field, you will see some code that starts with

    Plugin Name: WP Slimstat
    Plugin URI: http://wordpress.org/plugins/wp-slimstat/
    Description: The leading web analytics plugin for WordPress
    Version: 3.7.5

    Change that version row to read:

    Version: 3.7.4

    and click UPDATE FILE, under the text field. Now go back to the plugins page, and keep refreshing until you’re asked to update to 3.7.5 again 🙂 This will solve the problem.

    Best,
    Camu

    Ah, ok that worked Camu. Thanks. Interesting workaround. Good little trick to know.

    Plugin Author Jason Crouse

    (@coolmann)

    A vote for Slimstat would be a nice way to say thank you, Leonard.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Update to 3.7.5 displays error’ is closed to new replies.