Fatal error also by deactivating
-
An email came about cache failure:
by deactivating:
Simple Cache has encountered the following error(s): Simple Cache could not write advanced-cache.php to your wp-content directory or the file has been tampered with. Either click "Attempt Fix" or add the following code manually to wp-content/advanced-cache.php: <?php defined( 'ABSPATH' ) || exit; define( 'SC_ADVANCED_CACHE', true ); if ( is_admin() ) { return; } $plugin_path = defined( 'WP_PLUGIN_DIR' ) ? WP_PLUGIN_DIR : WP_CONTENT_DIR . '/plugins/'; include_once( $plugin_path . '/simple-cache/inc/pre-wp-functions.php' ); $GLOBALS['sc_config'] = sc_load_config(); if ( empty( $GLOBALS['sc_config'] ) || empty( $GLOBALS['sc_config']['enable_page_caching'] ) ) { return; } if ( @file_exists( $plugin_path . '/simple-cache/inc/dropins/file-based-page-cache.php' ) ) { include_once( $plugin_path . '/simple-cache/inc/dropins/file-based-page-cache.php' ); }
Fix attempt causes another one failure ??
- The topic ‘Fatal error also by deactivating’ is closed to new replies.