Deprecated warnings with Predis on PHP 8.4
-
Hi,
I’m using the Redis Object Cache plugin with PHP 8.4 (development version), and I’m getting several deprecation warnings related to the Predis library bundled with the plugin.
These appear only on the first server request after startup:Deprecated: Predis\Client::createPipeline(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in /path/to/plugins/redis-cache/dependencies/predis/predis/src/Client.php on line 443
Deprecated: Predis\Client::createTransaction(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in /path/to/plugins/redis-cache/dependencies/predis/predis/src/Client.php on line 486
Deprecated: Predis\Client::createPubSub(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in /path/to/plugins/redis-cache/dependencies/predis/predis/src/Client.php on line 518
Deprecated: Predis\Configuration\Options::__construct(): Implicitly marking parameter $options as nullable is deprecated, the explicit nullable type must be used instead in /path/to/plugins/redis-cache/dependencies/predis/predis/src/Configuration/Options.php on line 46Thanks in advance..))
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.