Thank you so much for this. I had a stray advanced-cache.php that was causing some issues. Renaming it helped.