0

I recently did a release on my magento2 instance on production. Everything looked good for a day, then enabled some configuration and styling went away from all product pages. So I reverted that and rebuilt (di, static files, setup:upgrade, etc). Now all our category pages have no products and seeing an error like the following:

Uncaught exception 'TypeError' with message 'Argument 8 passed to Magento\Catalog\Model\ProductRenderList::__construct() must be of the type array, null given, called in /var/www/vhosts/xyzcorp.com/releases/20190718151507/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111' in /var/www/vhosts/xyzcorp.com/releases/20190718151507/vendor/magento/module-catalog/Model/ProductRenderList.php:71

I follow the entire stack trace and it is all core magento files. Any ideas on this?

1
  • Error would suggest di compile required Commented Jul 18, 2019 at 17:29

1 Answer 1

0

I had same issue. It often happens when you deploy something it throws some random errors like that.

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
php bin/magento index:reindex

I hope it helps.

Thank you.

1
  • I have done all that. it is part of our deployment process.
    – sudopratt
    Commented Jul 18, 2019 at 17:44

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.