First time posting here for Magento2, so if this is not correct method or place, please let me know how to rectify. Using version 2.1.0 currently.
Hitting http 500 error on product page URL in browser. All other pages of the Magento 2 install are loading fine and as they should. Developer mode turned back on and errors showing in browser as below:
2 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block type: Magento\Catalog\Block\Product\ProductList\Item\Container
Exception #1 (ReflectionException): Class Magento\Catalog\Block\Product\ProductList\Item\Container does not exist
Have tried the solutions that suggest it's a cache issue. We have cleared the var/generation folder. Not a permissions issue, as all other pages loading fine and have set permissions to be as they need to be following those relevant guides.
Potential for one of the catalog database tables to be corrupt? Missing files?
Best Answer
Check for
var
Module permission.First run
Above one gives u where the error is & check error logs in
var
folder.If above things not work, then follow below ones
Go to
magento\vendor
Delete All Files.
Go to command line to ur Magento Root Path
Run
composer install