After data migration process in Magento2.2.0,
When I open category page at frontend than I get this type of error in system.log
file,
[2018-01-02 11:56:58] main.CRITICAL: Warning: getimagesize(/var/www/html/namespace/module/pub/media/catalog/product/placeholder/default/default-image_1.jpg): failed to open stream: No such file or directory in /var/www/html/namespace/module/vendor/magento/module-catalog/Model/Product/Image.php on line 890 [] []
And also the product is not displayed on any category page.
Anyone has idea about this problem?
Best Answer
After a long time, I seen that placeholder image does not get in getimagesize() function.(/vendor/magento/module-catalog/Model/Product/Image.php on line 890)
I put an image in,
And work for me easily.
And also the product is displayed on the category page.
If anyone gets this problem then check your /pub/media/* image path and create required folder path and put placeholder image.