Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yoast failure in category pages in Woocommerce #9142

Closed
2 tasks done
jennyhwd opened this issue Mar 7, 2018 · 10 comments
Closed
2 tasks done

Yoast failure in category pages in Woocommerce #9142

jennyhwd opened this issue Mar 7, 2018 · 10 comments
Milestone

Comments

@jennyhwd
Copy link

jennyhwd commented Mar 7, 2018

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

I cannot edit a category when Yoast is active. The update button is missing. There are errors at the bottom of the page.

Please describe what you expected to happen and why.

This error (slightly edited) appears. I just expect this error not to be there.

Fatal error: Uncaught TypeError: Argument 1 passed to WPSEO_Metabox_Tab_Section::add_tab() must implement interface WPSEO_Metabox_Tab, boolean given, called in /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-tab-section.php on line 60 and defined in /var/www/vhosts/xxxx.com/httpdocs/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-tab-section.php:109 Stack trace: #0 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-tab-section.php(60): WPSEO_Metabox_Tab_Section->add_tab(false) #1 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-metabox.php(197): WPSEO_Metabox_Tab_Section->__construct('social', '<span class="sc...', Array, Array) #2 /var/www/vhosts/xxx.com/httpdocs/wp-content/plugins/wordpress-seo/admin/taxonomy/class-taxonomy-metabox.php(109): WPSEO_Taxonomy_Metabox->get_social_meta_section() #3 /var/ww in /var/www/vhosts/xxxx.com/httpdocs/wp-content/plugins/wordpress-seo/admin/metabox/class-metabox-tab-section.php on line 109

How can we reproduce this behavior?

  1. You need to be logged in.

Technical info

  • WordPress version: WordPress 4.9.4 with child Storefront
  • Yoast SEO version: 7.0.1
  • Relevant plugins in case of a bug:
  • Tested with theme: If using an out of date Storefront (test site) it works, but on the up-to-date one it doesn't.
@rmarcano
Copy link

rmarcano commented Mar 7, 2018

Please inform the customer of conversation # 320980 when this conversation has been closed.

@rmarcano
Copy link

rmarcano commented Mar 7, 2018

Please inform the customer of conversation # 320611 when this conversation has been closed.

@rmarcano
Copy link

rmarcano commented Mar 7, 2018

Please inform the customer of conversation # 320203 when this conversation has been closed.

@jcomack
Copy link
Contributor

jcomack commented Mar 7, 2018

Was able to find where this is going wrong.

Under Social either Facebook or Twitter is disabled. This causes the error. A temporary fix would be to enable both social platforms until we release a new patch.

@jcomack jcomack self-assigned this Mar 7, 2018
@jcomack jcomack removed their assignment Mar 7, 2018
@moorscode moorscode modified the milestones: 7.0.1, 7.0.2 Mar 7, 2018
@FernandoSumun
Copy link

Worked for me, thanks!

@rmarcano
Copy link

rmarcano commented Mar 7, 2018

Please inform the customer of conversation # 320740 when this conversation has been closed.

@rmarcano
Copy link

rmarcano commented Mar 7, 2018

Please inform the customer of conversation # 321148 when this conversation has been closed.

@devnihil
Copy link

devnihil commented Mar 7, 2018

Please inform the customer of conversation # 21039 when this conversation has been closed.

@mariusghitulescu
Copy link

Please inform the customer of conversation # 321131 when this conversation has been closed.

@Pcosta88 Pcosta88 mentioned this issue Mar 7, 2018
2 tasks
@rmarcano
Copy link

rmarcano commented Mar 7, 2018

Please inform the customer of conversation # 320843 when this conversation has been closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants