Fatal Error – Prevents site pages loading.
-
Hi there, started getting a fatal error which I traced to Widget Options.
I got the error below. I updated the plugin recently. I noticed that deactivating the plugin didn’t upset content that was arranged with it but resolved the problem so I have done that for now. Hopefully the error below is useful. I notice another post about gutenberg toolbar and kadence blocks so I guess this may be the same issue? I am on 4.04
“PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Widget_Options::{closure}(), 2 passed in /usr/local/openresty/nginx/html/wp-includes/class-wp-hook.php on line 303 and exactly 3 expected in /usr/local/openresty/nginx/html/wp-content/plugins/widget-options/includes/widgets/gutenberg/gutenberg-toolbar.php:128
Stack trace:
#0 /usr/local/openresty/nginx/html/wp-includes/class-wp-hook.php(303): WP_Widget_Options->{closure}()
#1 /usr/local/openresty/nginx/html/wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /usr/local/openresty/nginx/html/wp-includes/class-wp-block.php(244): apply_filters()
#3 /usr/local/openresty/nginx/html/wp-includes/blocks.php(885): WP_Block->render()
#4 /usr/local/openresty/nginx/html/wp-includes/blocks.php(923): render_block()
#5 /usr/local/openresty/nginx/html/wp-includes/class-wp-hook.php(303): do_blocks()
#6 /usr/local/openresty/nginx/html/wp-includes/plugin.php(189): WP_Hook->apply_filters()Appears to be related to a plugin called “widget-options”.
The topic ‘Fatal Error – Prevents site pages loading.’ is closed to new replies.