Skip to content

Your configuration files are not serializable. #46

Description

@pratikshap31

After installing your package, we are facing an issue when caching the config with 
PHP artisan config: cache. It is a closure-related issue that occurs when using the callback function in config files as you have suggested here https://github.com/exodusanto/Laravel-Admin/blob/master/docs/fields.md#editable-option.

https://i.imgur.com/mqFPw0b.png
Error: Your configuration files are not serializable.

We have checked many third-party packages and they solved it. It is closure related issue.
Here is laravel/framework#9625 the other suggested solutions for this. 
Can you please check this and update your laravel-admin package accordingly.

Let me know if you will work on it or not? Are you going to raise PR?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions