Skip to content
/ stat Public

The module fixes the «Cannot gather stats» error on clearing the static files cache via the Magento 2 backend

Notifications You must be signed in to change notification settings

mage2pro/stat

Repository files navigation

The module fixes the «Cannot gather stats» error on clearing the static files cache via the Magento 2 backend.

How to install

bin/magento maintenance:enable
composer clear-cache
composer require mage2pro/stat:*
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile
rm -rf pub/static/* && bin/magento setup:static-content:deploy en_US
bin/magento maintenance:disable

How to upgrade

bin/magento maintenance:enable
composer clear-cache
composer update mage2pro/stat
bin/magento setup:upgrade
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile
rm -rf pub/static/* && bin/magento setup:static-content:deploy en_US
bin/magento maintenance:disable

If you have problems with these commands, please check the detailed instruction.