0

After I ran the update from Magento 2.2.8 to Magento 2.3.2, I am getting this error whenever I run a CLI command like upgrade or cache,

main.CRITICAL: Type Error occurred when creating object: Magento\Framework\Interception\Config\Config, Return value of Magento\Framework\Interception\Config\CacheManager::load() must be of the type array or null, string returned [] []

Any idea how to solve that?

Thanks!

  • 1
    Check all 3rd party extension and those extensions create custom cache – Amit Bera Jan 21 at 4:48
  • You need to find out those cache tags, those might create the wrong way. that why this error occurring – Amit Bera Jan 21 at 4:49
  • I disabled all 3rd party extensions in config.php but I cant run the cache commands because of this error ... I deleted the /var/vache folder manually but the problem is still there. – EOB Jan 21 at 7:13
  • @EOB, did you find solution on it. – Hitesh Balpande Feb 26 at 11:12
  • hello @EOB i have same problem, did you get any solution? – Jigs Parmar Sep 12 at 6:22
0

Anyone still facing the same issue with magento 2.3.4?

php bin/magento cache:flush

An exception was raised while creating "Request"; no instance returned

The reason was redis cache. Flush it and everything will work smooth.

redis-cli -h HOSTNAME

flushall

| improve this answer | |
0

After update from 2.1.9 to 2.3.5,

I execute CLI command like upgrade or compile or cache clean

Then also getting JSON Serializer error [Unable to unserialize value. Error: Syntax error]

vendor/magento/framework/Serialize/Serializer/Json.php

Solved by : https://magecomp.com/blog/solved-unable-to-unserialize-value-magento-2-2/

and also CacheManager error, it solve by clear the redis cache

Ref : https://www.shellhacks.com/redis-delete-all-keys-redis-cli/

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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