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

unserialize(): Error at offset 0 of 4 bytes #61

Closed
stojankukrika opened this issue Mar 19, 2024 · 1 comment
Closed

unserialize(): Error at offset 0 of 4 bytes #61

stojankukrika opened this issue Mar 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@stojankukrika
Copy link

Laravel Settings

3.3.1

Laravel Version

11.0

Bug description

I have this line in code:
$settings = settings()->all();
and get this information in bugsnag.

Steps to reproduce

I use a teams 'teams' = true, and 'team_foreign_key' => 'current_team_id'
and use this custom middleware : https://randallwilk.dev/docs/laravel-settings/v3/advanced-usage/custom-generators
and disabled encryption and cache.

Relevant log output

unserialize(): Error at offset 0 of 4 bytes and point this `$settings = settings()->all();` line in code
@stojankukrika stojankukrika added the bug Something isn't working label Mar 19, 2024
@stojankukrika
Copy link
Author

fixed with custom Serializer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant