laravel-theme icon indicating copy to clipboard operation
laravel-theme copied to clipboard

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

Open RyanSacks opened this issue 3 years ago • 1 comments

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?

RyanSacks avatar Feb 12 '22 01:02 RyanSacks

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

usmaneshop avatar Apr 01 '22 10:04 usmaneshop