[2018-08-20 01:14:38] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home/shelbyw/public_html/Magento/pub/static/adminhtml/Magento/backend/en_US/mage/requirejs/mixins.js {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot gather stats! Warning!stat(): stat failed for /home/shelbyw/public_html/Magento/pub/static/adminhtml/Magento/backend/en_US/mage/requirejs/mixins.js at /home/shelbyw/public_html/Magento/vendor/magento/framework/Filesystem/Driver/File.php:71)"} [] [2018-08-20 01:15:34] main.CRITICAL: Cannot gather stats! Warning!stat(): stat failed for /home/shelbyw/public_html/Magento/pub/static/frontend/Magento/luma/en_US/mage/requirejs/mixins.js {"exception":"[object] (Magento\\Framework\\Exception\\FileSystemException(code: 0): Cannot gather stats! Warning!stat(): stat failed for /home/shelbyw/public_html/Magento/pub/static/frontend/Magento/luma/en_US/mage/requirejs/mixins.js at /home/shelbyw/public_html/Magento/vendor/magento/framework/Filesystem/Driver/File.php:71)"} []
I get the above error. Not all the time. I believe it is after I clear the cache. Not positive on that tho.
I've googled and found errors similar but not quite the same. I've verified that the files exist, etc.
Anyone know why I am getting this? System seems to work ok.
I am using Magento 2.2 Community Edition
I have started seeing this in 2.2.6 but not sure how to correct it either.
I'm on magento 2.2.4, facing the same issue, any solution ? ...
I have this issue as well on 2.2.6; its been happening on every 2.2 version. I'm not in production yet, but I also noticed my review system isn't working right. The review stars don't show up on the review form, but the other input fields do. It still lets you submit the review but on the backend when looking at the review it says "rating not available".
Not sure if its related to this or not.
Hello @shelby_watson,
Can you please perform below command. There is permission issue of files and directory, Please run below command in Magento root directory
find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \; find ./var -type d -exec chmod 777 {} \; find ./pub/media -type d -exec chmod 777 {} \; find ./pub/static -type d -exec chmod 777 {} \; chmod 777 ./app/etc chmod 644 ./app/etc/*.xml
For static content deploy, run below commands
php bin/magento cache:clean php bin/magento cache:flush php bin/magento setup:upgrade rm -rf pub/static/frontend/* pub/static/adminhtml/* var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/ var/composer_home generated/ php -dmemory_limit=6G bin/magento setup:static-content:deploy -f chmod -Rf 777 pub/ var/ php bin/magento cache:clean
Let us know if you are still getting the issue.
--
If my answer is useful, please Accept as Solution & give Kudos
Same problem on 2.3, this error is written in log after I import product csv. Looks like a permission issue
Giving permission with such liberality is an aberration in systems, in addition to being unnecessary. firstly, because no one has expressed the model that server. A server in fcgi mode or similar does not need those permissions, and the only thing that can arise from there are jhacking problems.
Be more careful in what you contribute instead of asking for kudos
Disabling module Magento_Csp works for me locally, but it's not a long term solution.