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

Geologist (Blockbase) conflicts with Yoast SEO in GB 11.8 RC 2 in single post view #4898

Closed
3 tasks
bph opened this issue Oct 24, 2021 · 1 comment
Closed
3 tasks

Comments

@bph
Copy link

bph commented Oct 24, 2021

After I created a post and publish it I ran into the error message (see below)

I am not certain if that needs to be fixed

The conflict also shows itself with the parent theme Blockbase.

It doesn't occur with the current Gutenberg plugin version 11.7.1
It also doesn't show when using TT1 Blocks, or Tove themes.

Steps to replicate

  • New site on WordPress 5.8.1
  • Install Gutenberg 11.8 RC 2
  • Install Yoast SEO from the repository (17.4)
  • Add a post with a few paragraph blocks
  • Publish post
  • View post.

Result

A video https://recordit.co/eaT3lSetEY
Error message:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /app/public/wp-includes/class-wp-hook.php on line 305 and exactly 2 expected in /app/public/wp-includes/script-loader.php on line 2447

ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /app/public/wp-includes/class-wp-hook.php on line 305 and exactly 2 expected in /app/public/wp-includes/script-loader.php on line 2447

1 0.0000 403304 {main}( ) .../index.php:0
2 0.0003 403576 require( '/app/public/wp-blog-header.php' ) .../index.php:17
3 0.4774 5493136 require_once( '/app/public/wp-includes/template-loader.php' ) .../wp-blog-header.php:19
4 0.4986 5784440 include( '/app/public/wp-content/plugins/gutenberg/lib/template-canvas.php' ) .../template-loader.php:106
5 0.5304 5942928 wp_head( ) .../template-canvas.php:17
6 0.5304 5942928 do_action( ) .../general-template.php:3015
7 0.5304 5943304 WP_Hook->do_action( ) .../plugin.php:470
8 0.5304 5943304 WP_Hook->apply_filters( ) .../class-wp-hook.php:327
9 0.5731 6313960 Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head( ) .../class-wp-hook.php:303
10 0.5733 6313960 do_action( ) .../front-end-integration.php:291
11 0.5733 6314336 WP_Hook->do_action( ) .../plugin.php:470
12 0.5733 6314336 WP_Hook->apply_filters( ) .../class-wp-hook.php:327
13 0.5734 6315464 Yoast\WP\SEO\Integrations\Front_End_Integration->present_head( ) .../class-wp-hook.php:303
14 0.5821 6371312 Yoast\WP\SEO\Presenters\Open_Graph\Description_Presenter->present( ) .../front-end-integration.php:317
15 0.5821 6371312 Yoast\WP\SEO\Presenters\Open_Graph\Description_Presenter->get( ) .../abstract-indexable-tag-presenter.php:37
16 0.5821 6371312 Yoast\WP\SEO\Presentations\Indexable_Post_Type_Presentation->__get( ) .../description-presenter.php:40
17 0.5821 6371368 Yoast\WP\SEO\Presentations\Indexable_Post_Type_Presentation->generate_open_graph_description( ) .../abstract-presentation.php:64
18 0.5821 6371368 Yoast\WP\SEO\Helpers\Post_Helper->get_the_excerpt( ) .../indexable-post-type-presentation.php:196
19 0.5821 6371368 get_the_excerpt( ) .../post-helper.php:72
20 0.5821 6371816 apply_filters( ) .../post-template.php:429
21 0.5822 6372216 WP_Hook->apply_filters( ) .../plugin.php:189
22 0.5822 6373720 wp_trim_excerpt( ) .../class-wp-hook.php:303
23 0.5824 6373720 excerpt_remove_blocks( ) .../formatting.php:3820
24 0.5826 6393984 render_block( ) .../blocks.php:768
25 0.5827 6394552 WP_Block->render( ) .../blocks.php:868
26 0.5827 6394928 apply_filters( ) .../class-wp-block.php:244
27 0.5827 6395328 WP_Hook->apply_filters( ) .../plugin.php:189
28 0.5827 6396080 {closure:/app/public/wp-includes/script-loader.php:2447-2450}( ) .../class-wp-hook.php:305

Expected

That I see the post in the single post view

  • User report: [shortlink to chat/forum thread/ticket, ie 12345-hc]
  • Follow-up ticket: [shortlink to ticket, ie 12345-zen]
@bph
Copy link
Author

bph commented Oct 27, 2021

It seems to be a WordPress core bug, already patched Trac issue #54323. It will be fixed upstream
I close this issue for now.

@bph bph closed this as completed Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants