Yoast Uncaught Type Error
-
I always use Yoast and Elementor together, I’ve never had this issue before. When I try to use Elementor Header & Footer builder plugin, it shows this message:
Fatal error: Uncaught TypeError: Argument 1 passed to WPSEO_Abstract_Post_Filter::add_filter_link() must be of the type array, bool given, called in /home/customer/www/baileyn.sg-host.com/public_html/wp-includes/class-wp-hook.php on line 292 and defined in /home/customer/www/baileyn.sg-host.com/public_html/wp-content/plugins/wordpress-seo/admin/filters/class-abstract-post-filter.php:101 Stack trace: #0 /home/customer/www/baileyn.sg-host.com/public_html/wp-includes/class-wp-hook.php(292): WPSEO_Abstract_Post_Filter->add_filter_link(false) #1 /home/customer/www/baileyn.sg-host.com/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(false, Array) #2 /home/customer/www/baileyn.sg-host.com/public_html/wp-admin/includes/class-wp-list-table.php(405): apply_filters('views_edit-elem...', Array) #3 /home/customer/www/baileyn.sg-host.com/public_html/wp-admin/edit.php(457): WP_List_Table->views() #4 {main} thrown in /home/customer/www/baileyn.sg-host.com/public_html/wp-content/plugins/wordpress-seo/admin/filters/class-abstract-post-filter.php on line 101 There has been a critical error on this website. Please check your site admin email inbox for instructions.
I’ve already tried to disable it and enable again, delete and reinstall, none of that basic stuff works. It seems to be something with Yoast?
I would love some insight on this!
Here is some more info:
WordPress version 5.7.2
Current theme: Astra (version 3.6.1)
Current plugin: Yoast SEO (version 16.5)
PHP version 7.4.20Error Details
=============
An error of type E_ERROR was caused in line 101 of the file /home/customer/www/baileyn.sg-host.com/public_html/wp-content/plugins/wordpress-seo/admin/filters/class-abstract-post-filter.php. Error message: Uncaught TypeError: Argument 1 passed to WPSEO_Abstract_Post_Filter::add_filter_link() must be of the type array, bool given, called in /home/customer/www/baileyn.sg-host.com/public_html/wp-includes/class-wp-hook.php on line 292 and defined in /home/customer/www/baileyn.sg-host.com/public_html/wp-content/plugins/wordpress-seo/admin/filters/class-abstract-post-filter.php:101
Stack trace:
#0 /home/customer/www/baileyn.sg-host.com/public_html/wp-includes/class-wp-hook.php(292): WPSEO_Abstract_Post_Filter->add_filter_link(false)
#1 /home/customer/www/baileyn.sg-host.com/public_html/wp-includes/plugin.php(212): WP_Hook->apply_filters(false, Array)
#2 /home/customer/www/baileyn.sg-host.com/public_html/wp-admin/includes/class-wp-list-table.php(405): apply_filters(‘views_edit-elem…’, Array)
#3 /home/customer/www/baileyn.sg-host.com/public_html/wp-admin/edit.php(457): WP_List_Table->views()
#4 {main}
thrown
- The topic ‘Yoast Uncaught Type Error’ is closed to new replies.