New answers tagged

0

This error might occurred due to an unsupported file format or bad quality of PNG image. imagepng which should have a valid quality format between 1 and 9. Check the var/log directory for the corrupted catalog image, then remove the corrupted image & re-add the updated image. Hopefully it will fix your issue!


0

I faced the same issue after extending a class. The problem was that there was a backslash missing: Wrong: class AbstractProduct extends Magento\Catalog\Block\Product\AbstractProduct Correct: class AbstractProduct extends \Magento\Catalog\Block\Product\AbstractProduct


3

I have not dealt with this issue myself, and resize is working fine on our M234 stores. Although the catalog resize function works by pulling the image paths from the database, so it seems like either a DB connection / data issue. Below I've linked where the error is thrown, having a deeper look into the getCountUsedProductImages method and running ...


0

I am facing same issues and I am tried same commands php -d memory_limit=4G bin/magento setup:upgrade php -d memory_limit=4G bin/magento setup:static-content:deploy php -d memory_limit=4G bin/magento setup:di:compile php -d memory_limit=4G bin/magento cache:flush php -d memory_limit=4G bin/magento cache:clean //To run command forcefully php -f bin/...


1

Please check log file for the proper error. We get the same issue at time of code compilation or in production. We resolved the same issue by removing the unnecessary backup files from the module.


0

Here is Magento 2 Useful CLI Command list http://magelara.com/magento-2-useful-commands-list/


Top 50 recent answers are included