You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have Model::automaticallyEagerLoadRelationships() activated and use Redis for the cache backend and try to cache a model, then you get a Serialization of 'Closure' is not allowed exception. This might happen with other cache drivers as well, but I haven't tested this. It works as expected as soon as you comment out Model::automaticallyEagerLoadRelationships().