Error in CTF_Cache_Handler with autoptimize
-
Hi
I’ve got that error when trying to update feed cache
PHP Fatal error: Uncaught Error: Class 'TwitterFeed\Admin\autoptimizeCache' not found in /public_html/wp-content/plugins/custom-twitter-feeds/inc/Admin/CTF_Cache_Handler.php:167
PHP 7.2.4, WP 6.1.1Fixed by adding \ before autoptimizeCache::clearall
if ( class_exists( 'autoptimizeCache' ) ) {
\autoptimizeCache::clearall();
}
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Error in CTF_Cache_Handler with autoptimize’ is closed to new replies.