Critical Breadcrumb Error (PHP 8)
-
Can not upgrade client system from outdated PHP (7.x) as Yoast SEO is causing a critical error on posts in custom post types. Debugging brings up the following error for Yoast Breadcrumbs (using PHP 8 or higher versions):
Fatal error: Uncaught Error: Yoast\WP\SEO\Generators\Breadcrumbs_Generator::Yoast\WP\SEO\Generators\{closure}(): Argument #1 ($ancestor) must be of type Yoast\WP\SEO\Models\Indexable, bool given
in …/staging…de/wp-content/plugins/wordpress-seo/src/generators/breadcrumbs-generator.php on line 141(Works fine, if the plugin is deactivated.)
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Critical Breadcrumb Error (PHP 8)’ is closed to new replies.