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

Serialization Error on Magento 2.2 #23

Open
fisch42 opened this issue Dec 11, 2017 · 4 comments
Open

Serialization Error on Magento 2.2 #23

fisch42 opened this issue Dec 11, 2017 · 4 comments

Comments

@fisch42
Copy link

fisch42 commented Dec 11, 2017

On Magento 2.2.1 I get the following error when opening "Shops -> Configuration -> Magenerds -> Base price" in the admin:

1 exception(s):
Exception #0 (InvalidArgumentException): Unable to unserialize value.

Exception #0 (InvalidArgumentException): Unable to unserialize value.
#0 /var/www/magento2/vendor/magento/module-config/Model/Config/Backend/Serialized.php(55): Magento\Framework\Serialize\Serializer\Json->unserialize('a:14:{i:0;a:3:{...')

Related Issues: #18 #21

I have installed the newest version (1.1.1) via composer. I did not have installed this module before.

@unifiedarts
Copy link

hello guys, yeah, that issue is still present. do you maintain this extension?

extension broken

@sydekumf
Copy link
Contributor

Hi, that's the same problem like in the closed ticket: #21
As the serialization mechanism changed, delete the entry from the database, you should resave the configuration.

@fisch42
Copy link
Author

fisch42 commented Dec 14, 2017

Please fix the setup script, as I did not have installed an earlier version of this module. It still fails in a clean magento installation (2.2.2).

When I delete the entry from the database and resave the configuration, the following error on product page occurs:

1 exception(s):
Exception #0 (Exception): Notice: unserialize(): Error at offset 0 of 2 bytes in /var/www/magento2/vendor/magenerds/baseprice/Helper/Data.php on line 63

The database entry contains an empty json arry ([]). So I`ve added one "Conversion mapping" in the configuration and saved again. Then this error occurs on product page:

1 exception(s):
Exception #0 (Exception): Notice: unserialize(): Error at offset 0 of 92 bytes in /var/www/magento2/vendor/magenerds/baseprice/Helper/Data.php on line 63

@Trenk
Copy link

Trenk commented Jan 4, 2018

It seems to be known. With a clean Magento 2.2, the module can not be activated.

Is there any news about this?

Best regards

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 a pull request may close this issue.

4 participants