PHP 8.1 Depreciation Notice (Pantheon_Sessions)
-
On PHP 8.1 this plugin has lots of depreciation notices, (See below).
People have been reporting this for nearly 6 months now on StackOverflow etc – is there a new version of the plugin on the way to address this?
Deprecated: Return type of Pantheon_Sessions\Session_Handler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\WebFarmFiles\wwwroot\foo.com\wp-content\plugins\wp-native-php-sessions\inc\class-session-handler.php on line 26 Deprecated: Return type of Pantheon_Sessions\Session_Handler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\WebFarmFiles\wwwroot\foo.com\wp-content\plugins\wp-native-php-sessions\inc\class-session-handler.php on line 117 Deprecated: Return type of Pantheon_Sessions\Session_Handler::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\WebFarmFiles\wwwroot\foo.com\wp-content\plugins\wp-native-php-sessions\inc\class-session-handler.php on line 60 Deprecated: Return type of Pantheon_Sessions\Session_Handler::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\WebFarmFiles\wwwroot\foo.com\wp-content\plugins\wp-native-php-sessions\inc\class-session-handler.php on line 37 Deprecated: Return type of Pantheon_Sessions\Session_Handler::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\WebFarmFiles\wwwroot\foo.com\wp-content\plugins\wp-native-php-sessions\inc\class-session-handler.php on line 82 Deprecated: Return type of Pantheon_Sessions\Session_Handler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\WebFarmFiles\wwwroot\foo.com\wp-content\plugins\wp-native-php-sessions\inc\class-session-handler.php on line 98
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 8.1 Depreciation Notice (Pantheon_Sessions)’ is closed to new replies.