Uncaught Error: Object of class WP_Post_Type could not be converted to string

Just reporting this bug, I think :). I have checked the code it seems that your directly concatenating string to object class which cause fatal error on php v8.1.0

PHP Fatal error: Uncaught Error: Object of class WP_Post_Type could not be converted to string in /var/web/site/public_html/wp-content/plugins/breadcrumb-block/includes/breadcrumbs.php:345

Current Code in breadcrumb-block/includes/breadcrumbs.php:345

do_action( 'breadcrumb_block_single_' . $post_type, $post, $this );

Fixed Code in breadcrumb-block/includes/breadcrumbs.php:345

do_action( 'breadcrumb_block_single_' . $post_type->labels->name, $post, $this );

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer