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

Call to undefined method Opis\\Closure\\SerializableClosure::__set_state() #40

Open
RyanSacks opened this issue Feb 12, 2022 · 1 comment

Comments

@RyanSacks
Copy link

RyanSacks commented Feb 12, 2022

Hi,
I'm using Laravel 7 and when I run php artisan config:cache command I get the following error:

In ConfigCacheCommand.php line 71:
Your configuration files are not serializable.  

In config.php line 660:
Call to undefined method Opis\Closure\SerializableClosure::__set_state() 

I believe this is coming from your package.

After looking on the net, most answers point to this solution.
1) Delete the file bootstrap/cache/config.php
But this file doesn't exist in my project so I can't delete it.
Any idea how to fix this?

@usmaneshop
Copy link

Same error found in laravel 8, @RyanSacks did you found any solution of this problem?

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