Open markdimi opened 6 years ago
try to make this config https://github.com/SlavaYurthev/Contact-M2/blob/master/etc/config.xml#L23 empty, i will discover this issue...
What do you mean empty? When I tried your module I was using 2.2.2. Now I am using 2.2.5 - Any chance it might be fixed?
<fields></fields>
or
<!--<fields></fields>-->
it may be help
| sy_contact/general/fields | default | 0 | a:2:{s:18:"_1506991973917_917";a:4:{s:3:"key";s:5:"email";s:5:"label";s:6:"E-Mail";s:11:"field_class";s:23:"required validate-email";s:10:"field_type";s:5:"email";}s:18:"_1506991977533_533";a:4:{s:3:"key";s:7:"message";s:5:"label";s:7:"Message";s:11:"field_class";s:8:"required";s:10:"field_type";s:8:"textarea";}} |
This is ending up in the config databaes, seems to be double ...
Making the
seems to help
When saving stuff from the backend, I get also unserialize problems in the frontend.
I am using Magento 2.2.6
Exception #0 (Exception): Notice: unserialize(): Error at offset 0 of 381 bytes in /home/amk/local-workspace/shop.example.com/vendor/sy/contact/Block/ContactForm.php on line 19
You (or Magento 2.2.6) seem to save , but use unserialize :D ?
Will provide a PR ...
@SlavaYurthev I realized that in dev-master you already fixed it. 0.1.0-fix is not picked up by composer. you should tag 0.1.1 - then you can close this issue I would say :)
I have the same problem. How can I update to the correct "tag" using composer command. Thank you.
use composer require
with version dev-master
Just installed the module and I have this error when choosing
configuration
:Thank you for your efforts