-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Error Class "Doctrine\Common\Cache\ArrayCache" not found #493
Comments
Looks like Would it be safe to remove it from |
We should probably lock to doctrine/cache 1.* for know. |
Released a version which locks to ^1 now. Should look into finding replacements. Maybe symfony/cache. |
Yes, symfone/cache sounds better. |
if php ^8.0 |
Having same error |
@rakshitbharat we did. See the comments. What versions are you using? Both from laravel-doctrine and doctrine. |
@dpslwk closed it because the fix didn't seem to work out. I'm on versions (php 8.1) : It doesn't appear that we have the Doctrine\Common\Cache{ArrayCache, FileSystemCache, etc..} in doctrine/cache 2.x but it's being referenced in places like laravel-doctrine/orm/src/Configuration/Cache/FileCacheProvider.php. Adding/locking "doctrine/cache": "^1.12.1" to composer.json does fix it since doc/orm works with either. |
1.7, 8.45
I configured a brand new Laravel application and installed the latest version of
Laravel Doctrine
when trying to navigate to a page or execute anartisan
command I get that error. Do you know why would this be happening?The text was updated successfully, but these errors were encountered: