We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Getting Unable to load the requested class: cache

How Do I?

From EE Slack's avatar
From EE Slack
185 posts
one year ago
From EE Slack's avatar From EE Slack

setting up a ddev local site and getting the error:

> Error: Unable to load the requested class: cache

anyone experienced this before? I do have a cache folder in my user folder

       
From EE Slack's avatar
From EE Slack
185 posts
one year ago
From EE Slack's avatar From EE Slack

EE’s Matt helped track it down:

Turned out a reference to cache was in the gitignore that stopped the cache library from being committed, then when cloning the repo he no longer had it (in case anyone else hits this issue at some point).

I’ve seen other cases where server settings automatically remove certain file types via security settings- .phar files in particular. If really weird things are happening, make sure the file exists and if it doesn’t, seeing if something is removing it/preventing it from being uploaded is a good idea. It’s rare, but it happens.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.