Restriction Type – Critical Error on Website
-
Plugin doesn’t allow me to save after installation and has this error message after Restriction Type on the setup menu:
“There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.”
Everything including plugins are up to date, and I have cleared the WP and browser cache.
The error message in the email is:
WordPress version 6.1.1
Active theme: Zita (version 1.5.8)
Current plugin: Simple Address Autocomplete (version 1.2.0)
PHP version 8.0.27Error Details
=============
An error of type E_ERROR was caused in line 416 of the file /var/www/wp-content/plugins/simple-address-autocomplete/includes/class-simple-address-autocomplete.php. Error message: Uncaught TypeError: array_search(): Argument #2 ($haystack) must be of type array, string given in /var/www/wp-content/plugins/simple-address-autocomplete/includes/class-simple-address-autocomplete.php:416
Stack trace:
#0 /var/www/wp-content/plugins/simple-address-autocomplete/includes/class-simple-address-autocomplete.php(416): array_search(‘biased’, ‘biased’, true)
#1 /var/www/wp-admin/includes/template.php(1785): Simple_Address_Autocomplete->field_callback(Array)
#2 /var/www/wp-admin/includes/template.php(1739): do_settings_fields(‘simple_autocomp…’, ‘general_setting…’)
#3 /var/www/wp-content/plugins/simple-address-autocomplete/includes/class-simple-address-autocomplete.php(59): do_settings_sections(‘simple_autocomp…’)
#4 /var/www/wp-includes/class-wp-hook.php(308): Simple_Address_Autocomplete->simple_address_autocomplete_settings_page_content(”)
#5 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
#6 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /var/www/wp-admin/admin.php(259): do_action(‘settings_page_s…’)
#8 /var/www/wp-admin/options-general.php(10): require_once(‘/var/www/wp-adm…’)
#9 {main}
thrown
- The topic ‘Restriction Type – Critical Error on Website’ is closed to new replies.