Skip to content
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

Class cache does not exist #13

Open
whynotmatt opened this issue Mar 9, 2018 · 4 comments
Open

Class cache does not exist #13

whynotmatt opened this issue Mar 9, 2018 · 4 comments

Comments

@whynotmatt
Copy link

When using Redis for session caching and the XMLResponseServiceProvider, I get an error for "Class cache does not exist" when loading any request. After searching for a solution, it looks like the answer is to define the macro in the boot() method instead of the register() method.

https://laracasts.com/discuss/channels/laravel/class-cache-does-not-exist-error-when-use-redis-session-file-session-is-fine

@jailtonsc
Copy link
Owner

jailtonsc commented Mar 9, 2018

Are you using the redis package?

What version of laravel are you using?

I'll try to replicate the error to see what can be happening

@whynotmatt
Copy link
Author

Yes, the base redis config for laravel.

predis: 1.1
laravel: 5.5

@jailtonsc
Copy link
Owner

Okay, I'll make the adjustments.

@jailtonsc
Copy link
Owner

Hello, I can not replicate the error but I made a setting that could correct this problem for you. Could you verify that the error still occurs in this new version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants