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

Replace native serialize function with abstract serializer #24

Conversation

Detzler
Copy link

@Detzler Detzler commented Jan 8, 2018

Fixes #23

Instead using native serialize function, the fix implements the usage of the serializer interface.
I've tested at a real project. Works fine.

This fix does not include backward compatibility which would look like:

  1. On module upgrade get the value via unserialize function
  2. save the value via the serializer interface

Steps to install the fixed module:

  1. Delete the module from the database
    DELETE FROM setup_moduleWHEREsetup_module.module = 'Magenerds_BasePrice'
  2. Delete cache
    php bin/magento cache:clean
  3. Install module
    php bin/magento setup:upgrade

@Detzler
Copy link
Author

Detzler commented Jan 8, 2018

Oh, there is already a fix lol
never mind

@Detzler Detzler closed this Jan 8, 2018
@Detzler Detzler deleted the bugfix/serialization-error-on-magento-2.2 branch January 8, 2018 14:02
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

Successfully merging this pull request may close these issues.

Serialization Error on Magento 2.2
1 participant