Cannot activate rules
-
I can activate the plugin but once I try to activate one rule I get this error.
Using wordpress 5.7
[16-Mar-2021 07:13:54 UTC] PHP Fatal error: Uncaught Error: Call to a member function switch_to_locale() on null in /home3/mysite/public_html/wp-includes/l10n.php:1666 Stack trace: #0 /home3/mysite/public_html/wp-admin/includes/misc.php(132): switch_to_locale('sv_SE') #1 /home3/mysite/public_html/wp-content/plugins/http-headers/http-headers.php(1272): insert_with_markers('/home3/mysite...', 'HttpHeaders', Array) #2 /home3/mysite/public_html/wp-content/plugins/http-headers/http-headers.php(755): update_headers_directives() #3 /home3/mysite/public_html/wp-includes/class-wp-hook.php(294): http_headers_option('_transient_time...') #4 /home3/mysite/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #5 /home3/mysite/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #6 /home3/mysite/public_html/wp-includes/option.php(626): do_action('added_option', '_transient_time...', 1615878894) #7 /home3/mysite/public_html/wp-includes/option.php(885): add_option('_transient_time...', 1615878894, '', 'no') in /home3/mysite/public_html/wp-includes/l10n.php on line 1666
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Cannot activate rules’ is closed to new replies.