• [27-Mar-2022 13:30:09 UTC] PHP Warning: Undefined array key “SCRIPT_NAME” in /home/username/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler_engine.class.php on line 205

    [27-Mar-2022 13:45:03 UTC] PHP Warning: Undefined array key “SCRIPT_NAME” in /home/username/public_html/wp-content/plugins/cache-enabler/inc/cache_enabler_engine.class.php on line 203

    This happens over and over : today, 170 times in a row.

    The script that’s called is :

    /**
         * When Cache Enabler is updated (deprecated).
         *
         * @since       1.4.0
         * @deprecated  1.8.0
         */
        public static function on_cache_enabler_update() {
    ERROR HERE ————— THIS IS LINE 203
            self::each_site( is_multisite(), 'Cache_Enabler_Disk::clean' );
    ERROR HERE ————— THIS IS LINE 205
            Cache_Enabler_Disk::setup();
    
            self::clear_complete_cache();
        }

    Any idea why this is happening? I love the simplicity of Cache Enabler, but I can’t keep having these issues as I’m trying to reduce resource usage on our site.

    Thanks very much!

  • The topic ‘Getting tons of PHP Warnings: undefined script name’ is closed to new replies.