I did ```unset($GLOBALS['cache']);``` before ```global $cache, ```, no error