I am trying to update my CleverSoft theme and I receive this in command line when I run this:

php bin/magento setup:di:compile

enter image description here


1 Answer 1


I was having the same problem in Magento 2.1.8.

I solved the problem by cloning the latest version of the repository GitHub and copying the 'Serialize' package to version 2.1.8.

Path: <magento_path>/lib/internal/Magento/Framework/Serialize/

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.