• Plugin is not working with php 8.2.8.

    PHP 8.2.8 (cli) (built: Jul 28 2023 18:24:31) (NTS)

    # wp plugin activate cloudflare

    PHP Fatal error: Declaration of CF\Integration\DefaultLogger::debug($message, array $context = []) must be compatible with Psr\Log\AbstractLogger::debug(Stringable|string $message, array $context = []): void in /x/wp-content/plugins/cloudflare/src/Integration/DefaultLogger.php on line 42
    Fatal error: Declaration of CF\Integration\DefaultLogger::debug($message, array $context = []) must be compatible with Psr\Log\AbstractLogger::debug(Stringable|string $message, array $context = []): void in /x/wp-content/plugins/cloudflare/src/Integration/DefaultLogger.php on line 42

Viewing 3 replies - 1 through 3 (of 3 total)
  • generosus

    (@generosus)

    Hey @fliespl,

    We’re using PHP 8.3.2 with no issues. Consider deleting this plugin, clearing your cache, then re-installing it. A plugin conflict test may also help.

    Best wishes!

    Thread Starter Arkadiusz Rzadkowolski

    (@fliespl)

    generous yes we have diagnosed it to be conflict with rollbar plugin. Both use different implementation of logger interface.

    Thread Starter Arkadiusz Rzadkowolski

    (@fliespl)

    Closed

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility with php 8.2’ is closed to new replies.