Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • but i did figure it out
    starting at line 3712 just copy and paste

    add_filter( 'option_preload_cache_counter', 'option_preload_cache_counter' );
    
    function check_up_on_preloading() {
    	$value = get_option( 'preload_cache_counter' );
    	if ( is_array($value) && $value[ 'c' ] > 0 && ( time() - $value[ 't' ] ) > 3600 && false == wp_next_scheduled( 'wp_cache_preload_hook' ) ) {
    		if ( is_admin() ) {
    			if ( get_option( 'wpsc_preload_restart_email' ) < ( time() - 86400 ) ) {
    				wp_mail( get_option( 'admin_email' ), sprintf( __( '[%s] Preload may have stalled.', 'wp-super-cache' ), get_bloginfo( 'url' ) ), sprintf( __( "Preload has been restarted.\n%s", 'wp-super-cache' ), admin_url( "options-general.php?page=wpsupercache" ) ) );
    				update_option( 'wpsc_preload_restart_email', time() );
    			}
    			add_action( 'admin_notices', 'wpsc_preload_restart_notice' );
    		}
    		wp_schedule_single_event( time() + 30, 'wp_cache_preload_hook' );
    	}
    }

    since its so easy @egycode google (Trying to access array offset on value of type bool in /home/XXXX/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 3716) and let me know what you find ive been looking for 1 month now

    did you ever find a solutions. i having this issue as well

Viewing 3 replies - 1 through 3 (of 3 total)