Fatal error with php 8.1

[ad_1]

HI! I use a roots bedrock + sage setup nd when I activate the plugin I get these errors:

Fatal error: Declaration of Decalog\Logger::emergency($message, $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void in web/app/plugins/decalog/includes/api/class-logger.php on line 58

Fatal error: Uncaught Error: Call to a member function start_span_with_id() on null in /web/app/plugins/decalog/includes/listeners/class-corelistener.php:1726 Stack trace: #0 /web/wp/wp-includes/class-wp-hook.php(306): Decalog\Listener\CoreListener->trace_shutdown_start() #1 /web/wp/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #2 /web/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 web/wp/wp-includes/load.php(1144): do_action(‘shutdown’) #4 [internal function]: shutdown_action_hook() #5 {main} thrown in web/app/plugins/decalog/includes/listeners/class-corelistener.php on line 1726

I saw that it might depend on the version of some plugin dependency with php 8 but i’m not sure, is there any way to fix? other PerfOps plugins also give me similar errors.

Thanks in advance

 

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