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.
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: 56This 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.