Title: Errors with PHP8x
Last modified: August 6, 2021

---

# Errors with PHP8x

 *  Resolved [afrikane](https://wordpress.org/support/users/afrikane/)
 * (@afrikane)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/errors-with-php8x/)
 * Whenever I try to save a setting I receive a critical error message on the admin
   dashboard. In the logs this error message is recorded:
 *     ```
       [06-Aug-2021 07:40:01 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function sfs_ErrorHandler(), 4 passed and exactly 5 expected in /home/public_html/wp-content/plugins/stop-spammer-registrations-plugin/includes/stop-spam-utils.php:101
       Stack trace:
       #0 /home/public_html/wp-content/plugins/stop-spammer-registrations-plugin/settings/settings.php(204): sfs_ErrorHandler(2, 'Undefined array...', '/home/...', 204)
       #1 /home/public_html/wp-content/plugins/stop-spammer-registrations-plugin/settings/ss_options.php(12): ss_fix_post_vars()
       #2 /home/public_html/wp-content/plugins/stop-spammer-registrations-plugin/settings/settings.php(191): require_once('/home/...')
       #3 /home/public_html/wp-content/plugins/stop-spammer-registrations-plugin/settings/settings.php(145): include_setting('ss_options.php')
       #4 /home/public_html/wp-includes/class-wp-hook.php(303): ss_options('')
       #5 /home/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #6 /home/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #7 /home/public_html/wp-admin/admin.php(259): do_action('stop-spammers_p...')
       #8 {main}
         thrown in /home/public_html/wp-content/plugins/stop-spammer-registrations-plugin/includes/stop-spam-utils.php on line 101
       ```
   
 * How to fix this problem?
    -  This topic was modified 4 years, 9 months ago by [afrikane](https://wordpress.org/support/users/afrikane/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Anonymous User
 * (@anonymized-5837566)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/errors-with-php8x/#post-14741054)
 * The last time we discussed PHP 8, it was still way too early. But now, I think
   it might be time. Let me talk to the team; I suspect we’ll have an upgrade soon.
 *  Anonymous User
 * (@anonymized-5837566)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/errors-with-php8x/#post-14833081)
 * Okay, obviously we’re going to address this sooner rather than later, but I don’t
   have an ETA for you. In the meantime, the only solution I can suggest is to downgrade
   to PHP 7.4. I realize that’s probably less than ideal, sorry.
 *  [Strothi](https://wordpress.org/support/users/strothi/)
 * (@strothi)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/errors-with-php8x/#post-15032852)
 * Dear @bhadaway,
 * I hope I find you well. Is there any ETA on PHP8 support? I’m running around 
   90 plugins on my installation and yours seems to be the only one not yet ready
   for PHP8. Would be great if support for it could be added soon 🙂
 * Kind regards, Philip
 *  Anonymous User
 * (@anonymized-5837566)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/errors-with-php8x/#post-15033562)
 * I see that you found where we’re collecting all your error reports, so we’re 
   working on it now.
 *  Anonymous User
 * (@anonymized-5837566)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/errors-with-php8x/#post-15108072)
 * Fixed.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Errors with PHP8x’ is closed to new replies.

 * ![](https://ps.w.org/stop-spammer-registrations-plugin/assets/icon-256x256.png?
   rev=3377746)
 * [Stop Spammers Classic](https://wordpress.org/plugins/stop-spammer-registrations-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stop-spammer-registrations-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stop-spammer-registrations-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/stop-spammer-registrations-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stop-spammer-registrations-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stop-spammer-registrations-plugin/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: Anonymous User
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/errors-with-php8x/#post-15108072)
 * Status: resolved