Yoast breaks product page in woocommerce backend
-
Hi
I have the following fatal error and cannot resolve it. I swapped theme and tried many things, the only thing that worked was disabling Yoast.
I am using Yoast SEO Version 19.0 and php 8It is affecting the woocommerce wp-admin screen – products… became blank and cannot see any products.
From the email:
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, Yoast SEO.
First, visit your website ( mysite .com /) and check for any visible issues. Next, visit the page where the error was caught ( mysite .com/wp-admin/edit.php?post_type=product) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.
link redacted
To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.0
Active theme: Storefront Child (version 1.0)
Current plugin: Yoast SEO (version 18.9)
PHP version 8.0.19Error Details An error of type E_ERROR was caused in line 105 of the file /home/mysite/public_html/wp-content/plugins/wordpress-seo/admin/class-meta-columns.php. Error message: Uncaught TypeError: array_merge(): Argument 1 must be of type array, null given in /home/mysite/public_html/wp-content/plugins/wordpress-seo/admin/class-meta-columns.php:105 Stack trace: 0 /home/mysite/public_html/wp-content/plugins/wordpress-seo/admin/class-meta-columns.php(105): array_merge(NULL, Array) 1 /home/mysite/public_html/wp-includes/class-wp-hook.php(307): WPSEO_Meta_Columns->column_heading(NULL) 2 /home/mysite/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(NULL, Array) 3 /home/mysite/public_html/wp-admin/includes/class-wp-posts-list-table.php(739): apply_filters('manage_product_...', NULL) 4 /home/mysite/public_html/wp-includes/class-wp-hook.php(307): WP_Posts_List_Table->get_columns(Array) 5 /home/mysite/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters(Array, Array) 6 /home/mysite/public_html/wp-admin/includes/screen.php(37): apply_filters('manage_edit-pro...', Array) 7 /home/mysite/public_html/wp-admin/includes/class-wp-screen.php(996): get_column_headers(Object(WP_Screen)) 8 /home/mysite/public_html/wp-admin/includes/class-wp-screen.php(957): WP_Screen->show_screen_options() 9 /home/mysite/public_html/wp-admin/admin-header.php(281): WP_Screen->render_screen_meta() 10 /home/mysite/public_html/wp-admin/edit.php(397): require_once('/home/mysite/...') 11 {main} thrown
- The topic ‘Yoast breaks product page in woocommerce backend’ is closed to new replies.