I cannot add a new attribute. When I put all the information and hit the save button I get an error :

"Class Magento\Framework\Serialize\Serializer\Json does not exist"

How to solve this issue?

  • What version are you using?
    – Pmclain
    Aug 13, 2017 at 14:06

2 Answers 2


check if the Serialize folder exits under vendor/magento/framework. If not try adding the serialize folder.


Seems that some custom module silently depends on the Magento version 2.2+ without a dependency declared it in the composer.json. Try to search in your project which module is using this class and try to downgrade it to an older version compatible with your Magento version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.