In this post I am going to explain How to Unable to serialize value.

Error : After Magento 2 version upgrade error on check page is as below.

“report.CRITICAL: Unable to serialize value. Error: Malformed UTF-8 characters, possible incorrectly encoded.”

Please follow the steps to resolve this issue.

1. Create registration.php file at below Path

Path: app/code/<vendor>/<yourmodule>

2. Create module.xml file at below path

Path: app/code/<vendor>/<yourmodule>/etc

3. Create di.xml file at below path

Path: app/code/<vendor>/<yourmodule>/etc

4. Create Json.php file at below path

Path: app/code/<vendor>/<yourmodule>/Rewrite/Magento/Framework/Serialize/Serializer

5. Create JsonHexTag.php file at below path

Path: app/code/<vendor>/<yourmodule>/Rewrite/Magento/Framework/Serialize/Serializer

That’s it.

Note: In order to install this extension, after adding files you need to run upgrade and deploy commands.

If you have any query about the above code then you can ask in the comment section below.

Check this Best Magento 2 Tutorial.

Thank You.