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 893 bytes #56

Open
Chris1234567899 opened this issue Feb 4, 2020 · 0 comments
Open

unserialize(): Error at offset 0 of 893 bytes #56

Chris1234567899 opened this issue Feb 4, 2020 · 0 comments

Comments

@Chris1234567899
Copy link

While the setup on my local machine (using Xampp with php PHP 7.3.2) works fine, trying to use it on AWS EC2 (using PHP 7.2) results in the following error:

message: "unserialize(): Error at offset 0 of 893 bytes" exception: "ErrorException" file: "/var/app/current/vendor/mpociot/versionable/src/Mpociot/Versionable/Version.php" line: 56

This happens apparently when calling getModel() on a version. Storing new versions seem to work without errors, I can see them in the database.

My guess is that this bug is due to the PHP version.

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

1 participant