Replies: 5
After updating Yoast to 17.9 we are getting a critical error each time we try to update/publish a page. Fortunately, the changes still appear to be saving for now.
I’ve determined that if I deactivate Site Origin Widgets bundle, the conflict is resolved, but this has never been an issue in the past. I have tried deleting and re-installing the Yoast plugin, as well as deleting entirely via FTP and re-adding. The same issue occurs each time.
Here is the error that is emailed to me. Any help would be appreciated.
WordPress version 5.8.3
Current theme: Vantage Child (version 1.15.5.1606343971)
Current plugin: Yoast SEO (version 17.9)
PHP version 8.0.13
Error Details
=============
An error of type E_ERROR was caused in line 121 of the file
/home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-content/plugins/wordpress-seo/src/repositories/seo-links-repository.php.
Error message: Uncaught TypeError: array_column(): Argument #1
($array) must be of type array, bool given in
/home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-content/plugins/wordpress-seo/src/repositories/seo-links-repository.php:121
Stack trace:
#0 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-content/plugins/wordpress-seo/src/repositories/seo-links-repository.php(121):
array_column()
#1 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(477):
Yoast\WP\SEO\Repositories\SEO_Links_Repository->get_incoming_link_counts_for_indexable_ids()
#2 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(392):
Yoast\WP\SEO\Builders\Indexable_Link_Builder->update_incoming_links_for_related_indexables()
#3 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-content/plugins/wordpress-seo/src/builders/indexable-link-builder.php(122):
Yoast\WP\SEO\Builders\Indexable_Link_Builder->update_related_indexables()
#4 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-content/plugins/wordpress-seo/src/integrations/watchers/indexable-post-watcher.php(197):
Yoast\WP\SEO\Builders\Indexable_Link_Builder->build()
#5 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/class-wp-hook.php(305):
Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable()
#6 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/class-wp-hook.php(327):
WP_Hook->apply_filters()
#7 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/plugin.php(470):
WP_Hook->do_action()
#8 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/post.php(4479):
do_action()
#9 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/post.php(4570):
wp_insert_post()
#10 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-content/plugins/siteorigin-panels/inc/admin.php(280):
wp_update_post()
#11 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/class-wp-hook.php(305):
SiteOrigin_Panels_Admin->save_post()
#12 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/class-wp-hook.php(327):
WP_Hook->apply_filters()
#13 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/plugin.php(470):
WP_Hook->do_action()
#14 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/post.php(4468):
do_action()
#15 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-includes/post.php(4570):
wp_insert_post()
#16 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-admin/includes/post.php(423):
wp_update_post()
#17 /home/oiaxb7n4ueyo/public_html/flexible-payroll.com/wp-admin/post.php(227):
edit_post()
#18 {main}
thrown