WordPress Native PHP Sessions 1.3.1

Does "Native PHP Sessions for WordPress" work with WordPress 6.1.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
39PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 12.08 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.1.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/wp-native-php-sessions/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-native-php-sessions%2Fpantheon-sessions.php&plugin_status=all&paged=1&s&_wpnonce=58a62e58e1
Aspect after-activation
HTTP status 200
Load time 0.274 s
Memory usage 3.01 MiB
JS errors None
Resource errors None

Tools → Sessions

Page screenshot: Tools → Sessions
URL /wp-admin/tools.php?page=pantheon-sessions
Aspect menu-item
HTTP status 200
Load time 0.266 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.216 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.304 s0.237 s-0.067 s3.05 MiB3.07 MiB+ 19.84 KiB
/wp-admin/edit.php0.197 s0.193 s-0.004 s3.07 MiB3.09 MiB+ 19.84 KiB
/wp-admin/post-new.php0.830 s0.980 s+0.150 s4.97 MiB4.99 MiB+ 24.2 KiB
/wp-admin/upload.php0.712 s0.288 s-0.424 s2.99 MiB2.99 MiB+ 3.17 KiB
/wp-admin/options-writing.php0.179 s0.138 s-0.041 s2.99 MiB2.98 MiB- 10.18 KiB
/wp-admin/media-new.php0.301 s0.223 s-0.078 s2.97 MiB2.98 MiB+ 15.36 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.180 s-0.014 s2.98 MiB3 MiB+ 20.53 KiB
/wp-admin/post-new.php?post_type=page0.634 s0.762 s+0.128 s4.96 MiB4.98 MiB+ 19.79 KiB
/wp-admin/options-discussion.php0.235 s0.328 s+0.093 s2.98 MiB2.98 MiB+ 3.66 KiB
/wp-admin/edit-comments.php0.215 s0.192 s-0.023 s3 MiB3 MiB+ 2.42 KiB
/0.293 s0.222 s-0.071 s2.94 MiB2.96 MiB+ 14.27 KiB
Average 0.372 s0.340 s-0.032 s3.35 MiB3.37 MiB+ 12.08 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP100.0%5293376
Total 529 337 6

PHP Code Analysis | More results »

Lines of code 529
Total complexity 117
Median class complexity 14.5
Median method complexity 2.0
Most complex class Pantheon_Sessions
Most complex function Pantheon_Sessions::set_ini_values()
Classes 6
Methods 42
Functions 1

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 1

PHP Error Log 39 lines

[06-Dec-2022 15:45:10 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:10 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:11 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:11 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:12 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:13 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:13 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:14 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:14 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:15 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:15 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:15 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:15 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:15 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:15 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:15 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:15 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:16 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:16 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:16 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:16 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:17 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:17 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:17 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:18 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:18 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:18 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:18 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:18 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:18 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:19 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:19 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:19 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:19 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:20 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:20 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:20 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:20 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
[06-Dec-2022 15:45:21 UTC] PHP 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 /wp-content/plugins/wp-native-php-sessions/inc/class-session-handler.php on line 122
See also: All tests for this plugin, How to Hide the "Sessions" Admin Menu