Uncaught Error
-
Hello, I have the same issue as two people here, down to the same error on the same lines of code as per this reply:
https://www.ads-software.com/support/topic/is-yoast-incompatible-with-new-wordpress-version/#post-14902950`An error of type E_ERROR was caused in line 129 of the file /wp-content/plugins/wordpress-seo/src/memoizers/meta-tags-context-memoizer.php.
Error message: Uncaught TypeError: Argument 1 passed to Yoast\WP\SEO\Memoizers\Meta_Tags_Context_Memoizer::get() must be an instance of Yoast\WP\SEO\Models\Indexable, bool given, called in wp-content/plugins/wordpress-seo/src/integrations/blocks/breadcrumbs-block.php on line 104 and defined in wp-content/plugins/wordpress-seo/src/memoizers/meta-tags-context-memoizer.php:129
Stack trace:
#0 /wp-content/plugins/wordpress-seo/src/integrations/blocks/breadcrumbs-block.php(104): Yoast\WP\SEO\Memoizers\Meta_Tags_Context_Memoizer->get(false, ‘Post_Type’)
#1 /wp-includes/class-wp-block.php(221): Yoast\WP\SEO\Integrations\Blocks\Breadcrumbs_Block->present(Array, ”, Object(WP_Block))
#2 /wp-includes/blocks.php(868): WP_Block->render()
#3 //wp-includes/blocks.php(906): render_block(Array)I got a critical error when I tried to edit the one page I used the Yoast SEO breadcrumb block in, everything else was fine. It was the first time I tried using it.
I was able to use recovery mode to remove the block to be able to exit recovery mode. Everything works again but I have deactivated yoast in the meantime.
WordPress version 5.8.1
Current plugin: Yoast SEO (version 17.2)
PHP version 7.3.27
- The topic ‘Uncaught Error’ is closed to new replies.