• Resolved johnymas

    (@johnymas)


    All my sites crashed with last v1.9.9.8.6 update.

    Error thrown

    Class ‘WPSS_Utils’ not found

Viewing 15 replies - 1 through 15 (of 16 total)
  • Same here, though I cautiously installed on only one site. Locked it up tight. 500 error.

    Plugin Contributor redsand

    (@redsand)

    @johnymas,

    I’m sorry to hear that. Unfortunately that’s not giving us much info. We’ll need a bit more info from you. Please visit the Troubleshooting Guide and FAQs, and submit a support request at out main support venue, the WP-SpamShield Support Page.

    – Scott

    • This reply was modified 7 years, 10 months ago by redsand.

    Same here, fatal error.
    This is from the log:

    [Sat Jan 21 00:02:48.956359 2017] [:error] [pid 26239:tid 34603083776] [client 157.55.39.107:19060] FastCGI: server “/var/run/php-fpm/php70/php-cgi” stderr: PHP message: PHP Warning: preg_match(): No ending delimiter ‘~’ found in /sites/jacktummers.nl/www/wp-content/plugins/wp-spamshield/includes/class.utils.php on line 665
    [Sat Jan 21 00:02:48.956419 2017] [:error] [pid 26239:tid 34603083776] [client 157.55.39.107:19060] FastCGI: server “/var/run/php-fpm/php70/php-cgi” stderr: PHP message: PHP Warning: preg_match(): Delimiter must not be alphanumeric or backslash in /sites/jacktummers.nl/www/wp-content/plugins/wp-spamshield/includes/class.utils.php on line 665

    AWS

    (@adminreports)

    I’m getting:

    `PHP Fatal error: Uncaught Error: Class ‘WPSS_Utils’

    Hi Scott, same issue here. The error is along the lines of:

    [Sat Jan 21 23:36:01.256961 2017] [:error] [pid 897] [client IP-ADDRESS] PHP Fatal error: Class ‘WPSS_Utils’ not found in /nas/content/stage/account/wp-content/plugins/wp-spamshield/wp-spamshield.php on line 7323, referer: https://websitename.com/../../network/update-core.php

    It happened in the staging area, so I pushed a new copy to the staging. Then once I updated Spam Shield, the site crashed again with the same 500 error.

    Let me know if any another information is helpful. Thanks!

    -Carl

    I have the exact same issue. Are you guys using serverpilot.io by any chance? Because many of my domains are not resolving correctly on top of the WP SpamShield issue. (pinging them says could not find host, even though they are correctly setup).

    I am not sure if this is related to WP Spamshield or an update on serverpilot.io along with WP Spamshield.

    Either way, I have not touched any of my websites, and ALL 300+ websites show error 500, and some of them show DNS error.

    Plugin Contributor redsand

    (@redsand)

    Hi to everyone here!

    I wanted to post here to let you guys know we are actively working on this issue.

    Please see my response here for how to proceed.

    If anyone having issues will follow those steps, it will help us resolve 100% of the issues as quickly as possible.

    Thank you!

    – Scott

    The issue is in the function rs_wpss_getenv() which is called (48 line) before including file class.utils.php. This function calls WP_SpamShield::sanitize_ip. From this version function sanitize_ip calls WPSS_Utils::append_log_data which is undefined because class.utils.php isn’t included yet.

    In other words, now you must include class.utils.php before calling rs_wpss_getenv().

    Dear author, I respect your work and don’t want to offend you but honestly I don’t understand how could you call it as the Minor update. I thought number ‘6’ means the version of the filter update, number ‘8’ is a bug fixes. But this version contains many changes so it must be called 1.9.10 or maybe even 1.10. Fortunately I caught this issue on my test environment.


    Regards,
    Talgat

    I have exactly the same issue with 10 sites to which I applied the v1.9.9.8.6 update.

    WP-SpamShield is definintely the cause of it because as soon as I deleted the WP-SpamShield plugins on two sites via FTP (each built with different frameworks – Genesis and DIVI), the sites came back alive.

    Without us all having to submit support requests, it would be more beneficial if you could please possibly publish your solution on this forum.

    Thanks a lot.

    Plugin Contributor redsand

    (@redsand)

    @mikemacd:

    I hear you and I understand. We’re not denying an issue, it’s just that we’re trying to identify why only certain servers are having issues. We have to suss out a pattern in order to make sure future updates don’t cause issues with those servers.

    I hope you can see though, that to solve an issue at the root level, it’s a bit more complex.

    Regarding what @talgat said, yes, we’re moving the append_log_data() function into the main file in the next update. It’s an upgraded version of the function that was previously in the main file. It was initially moved to the WPSS_Utils class, but that’s been an issue on some servers due to the firing order. Unfortunately including the WPSS_Utils class before rs_wpss_getenv(). runs creates other bigger issues. That’s part of the rub.

    For starters, if you would like immediate relief, you can comment out the following line in the wp-spamshield.php file that have WPSS_Utils::append_log_data. Lines 2642, 7323, 7393 are the only ones you would need to edit. Just add “//” to the beginning of the line. (If anyone isn’t familiar with editing PHP files, just make sure you’re using a text editor like Notepad or Notepad++, and don’t use any Microsoft, Office, or word-processor-type apps. Also, always back up the original file first.)

    – Scott

    • This reply was modified 7 years, 10 months ago by redsand.
    • This reply was modified 7 years, 10 months ago by redsand.

    @redsand:

    Scott, I’m sorry if I misled. I just wanted to explain why it happens. Of course you know better dependencies and how better to solve it.


    Regards,
    Talgat

    • This reply was modified 7 years, 10 months ago by talgat.
    • This reply was modified 7 years, 10 months ago by talgat.
    Plugin Contributor redsand

    (@redsand)

    @talgat,

    No worries at all. ?? We do appreciate the info you provided. Just wanted to let you know we’re on it.

    – Scott

    Hi Scott,

    Same issue for my site on WP Engine, if that helps. No, 500 error, just white screen. Commenting out the lines you referenced solved the issue and I’ll wait for an update.

    I also have sites using your plugin on Media Temple DV server and Pair Networks server. Those updated without issue.

    Thanks for your quick attention to this.
    Laura

    Plugin Contributor rsm-support

    (@rsm-support)

    UPDATE: Version 1.9.9.8.7 has been released. All issues should be resolved.

    If anyone needs further tech support, please visit the following:

    1. WP-SpamShield Support Page
    2. Troubleshooting Guide
    3. Frequently Asked Questions (FAQs)

    Hi Scott

    Sorry about my wording earlier, I wasn’t implying you were denying the issue but was just trying to be helpful in case there were any doubts.

    Thank you for your helpful responses and fast turnaround in resolving the issue.
    Mike

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘All my sites crashed’ is closed to new replies.