Magento – Magento 2 – Type Error occurred when creating object: Magento\Framework\Interception\Config\Config after upgrade to 2.3.2

magento2magento2.3.2system-config

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!

Best Answer

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

Related Topic