Testing Suspended

Testing of this plugin has been temporarily suspended due to an error. It will automatically resume when a new plugin version is released.

Simple Cache 2.0.0

Does Simple Cache work with WordPress 6.2.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
3PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.2.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 7,000+
WordPress.org page https://wordpress.org/plugins/simple-cache/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

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

Benchmark

No benchmark data available.

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
PO File
Language % Lines of code Comment lines Files
PHP86.5%2,8081,07114
PO File9.6%3131272
JavaScript1.8%6001
CSS1.5%4801
Markdown0.5%1601
Total 3,245 1,198 19

PHP Code Analysis | More results »

Lines of code 2,790
Total complexity 718
Median class complexity 53.5
Median method complexity 3.0
Most complex class WP_Object_Cache
Most complex function SC_Settings::screen_options()
Classes 10
Methods 119
Functions 61

Additions

No data available.

PHP Error Log 31 lines

[18-May-2023 02:39:10 UTC] PHP Fatal error:  Uncaught TypeError: unlink(): Argument #2 ($context) must be of type resource or null, bool given in /wp-content/plugins/simple-cache/inc/class-sc-config.php:182
Stack trace:
#0 /wp-content/plugins/simple-cache/inc/class-sc-config.php(182): unlink()
#1 /wp-content/plugins/simple-cache/simple-cache.php(105): SC_Config->write()
#2 /wp-includes/class-wp-hook.php(308): sc_activate()
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/includes/plugin.php(691): do_action()
#6 /wp-admin/plugins.php(58): activate_plugin()
#7 {main}
  thrown in /wp-content/plugins/simple-cache/inc/class-sc-config.php on line 182
[18-May-2023 02:39:11 UTC] PHP Fatal error:  Uncaught TypeError: unlink(): Argument #2 ($context) must be of type resource or null, bool given in /wp-content/plugins/simple-cache/inc/class-sc-config.php:182
Stack trace:
#0 /wp-content/plugins/simple-cache/inc/class-sc-config.php(182): unlink()
#1 /wp-content/plugins/simple-cache/simple-cache.php(105): SC_Config->write()
#2 /wp-includes/class-wp-hook.php(308): sc_activate()
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/plugins.php(194): do_action()
#6 {main}
  thrown in /wp-content/plugins/simple-cache/inc/class-sc-config.php on line 182
[18-May-2023 02:39:11 UTC] PHP Fatal error:  Uncaught TypeError: unlink(): Argument #2 ($context) must be of type resource or null, bool given in /wp-content/plugins/simple-cache/inc/class-sc-config.php:182
Stack trace:
#0 /wp-content/plugins/simple-cache/inc/class-sc-config.php(182): unlink()
#1 /wp-content/plugins/simple-cache/simple-cache.php(105): SC_Config->write()
#2 /wp-includes/class-wp-hook.php(308): sc_activate()
#3 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(517): WP_Hook->do_action()
#5 /wp-admin/plugins.php(194): do_action()
#6 {main}
  thrown in /wp-content/plugins/simple-cache/inc/class-sc-config.php on line 182
See also: All tests for this plugin