PHP 8 compatibility
-
I am trying your plugin and looks like it isn’t compatible with php 8 yet.
WordPress version 5.6
Current theme: Seath 2 (version 2.0)
Current plugin: Stop Spammers (version 2020.6.2)
PHP version 8.0.0Error Details
=============
An error of type E_ERROR was caused in line 107 of the file /home/seath1978/public_html/wp-content/plugins/stop-spammer-registrations-plugin/includes/stop-spam-utils.php. Error message: Uncaught ArgumentCountError: Too few arguments to function sfs_ErrorHandler(), 4 passed and exactly 5 expected in /home/seath1978/public_html/wp-content/plugins/stop-spammer-registrations-plugin/includes/stop-spam-utils.php:107
Stack trace:
#0 [internal function]: sfs_ErrorHandler(8, ‘iconv(): Detect…’, ‘/home/seath1978…’, 409)
#1 /home/seath1978/public_html/wp-content/plugins/backwpup/vendor/symfony/polyfill-mbstring/Mbstring.php(409): iconv(‘ASCII’, ‘ASCII’, ‘a:241:{s:11:”ch…’)
#2 /home/seath1978/public_html/wp-content/plugins/backwpup/vendor/symfony/polyfill-mbstring/bootstrap.php(45): Symfony\Polyfill\Mbstring\Mbstring::mb_check_encoding(‘a:241:{s:11:”ch…’, ‘ASCII’)
#3 /home/seath1978/public_html/wp-includes/wp-db.php(3007): mb_check_encoding(‘a:241:{s:11:”ch…’, ‘ASCII’)
#4 /home/seath1978/public_html/wp-includes/wp-db.php(3118): wpdb->check_ascii(‘a:241:{s:11:”ch…’)
#5 /home/seath1978/public_html/wp-includes/wp-db.php(2453): wpdb->strip_invalid_text(Array)
#6 /home/seath1978/public_html/wp-includes/wp-db.php(2324): wpdb->process_fields(‘w8pk9s5wa2_opti…’, Array, NULL)
#7 /home/seath1978/public_html/wp-includes/option.php(441): wpdb->update(‘w8pk9s5wa2_opti…’, Array, Array)
#8 /home/seath1978/public_html/wp-content/plugins/stop-spammer-registrations-plugin/stop-spammer-registrations-new.php(313): update_option(‘ss_stop_sp_reg_…’, Array)
#9 /home/seath1978/public_html/wp-content/plugins/stop-spammer-registrations-plugin/settings/ss_options.php(230): ss_set_options(Array)
#10 /home/seath1978/public_html/wp-content/plugins/stop-spammer-registrations-plugin/settings/settings.php(191): require_once(‘/home/seath1978…’)
#11 /home/seath1978/public_html/wp-content/plugins/stop-spammer-registrations-plugin/settings/settings.php(152): include_setting(‘ss_options.php’)
#12 /home/seath1978/public_html/wp-includes/class-wp-hook.php(287): ss_options(”)
#13 /home/seath1978/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#14 /home/seath1978/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#15 /home/seath1978/public_html/wp-admin/admin.php(259): do_action(‘stop-spammers_p…’)
#16 {main}
thrown
- The topic ‘PHP 8 compatibility’ is closed to new replies.