PHP Fatal error – undefined function wp_cache_supports
-
I was installing this plugin on a few different sites today to compare the hosting and some sites were unable to run a benchmark test. The following PHP error was output to the error log for a site using WP 5.9.7 and PHP 7.4.33
[12-Sep-2023 00:14:51 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_cache_supports() in /home/mysite/public_html/wp-content/plugins/wpbenchmark/class.wpbenchmarkio.php:1193
Stack trace: 0 /home/mysite/public_html/wp-content/plugins/wpbenchmark/class.wpbenchmarkio.php(459): wpbenchmarkio->local_wp_cache_flush() 1 /home/mysite/public_html/wp-content/plugins/wpbenchmark/class.wpbenchmarkio.php(448): wpbenchmarkio->reset_and_prepare_object_cache() 2 /home/mysite/public_html/wp-content/plugins/wpbenchmark/class.wpbenchmarkio.php(34): wpbenchmarkio->get_initial_steps() 3 /home/mysite/public_html/wp-content/plugins/wpbenchmark/wp-benchmark-io.php(951): wpbenchmarkio->request_new(Array) 4 /home/mysite/public_html/wp-settings.php(418): include_once(‘/home/mysite/publi…’) 5 /home/mysite/public_html/wp-config.php(110): require_once(‘/home/mysite/publi…’) 6 /home/mysite/public_html/wp-load.php(50): require_once(‘/home/mysite/publi…’) 7 /home/mysite/public_html/wp-admin/admin.php(34): require_once(‘/home/mysite/publi…’) 8 /home/mysite/public_html/wp-admin/tools.php(40 in /home/mysite/public_html/wp-content/plugins/wpbenchmark/class.wpbenchmarkio.php on line 1193
- The topic ‘PHP Fatal error – undefined function wp_cache_supports’ is closed to new replies.