Or system.log in var/log is full of the following lines:
[2023-11-03T09:18:36.813475+00:00] main.CRITICAL: Requested path '_cache/merged/8ce44e6dea119fd921c2d7d8a0a9db33.min.css' is wrong. [] []
[2023-11-03T09:20:32.352668+00:00] main.ERROR: Requested path '_cache/merged/8ce44e6dea119fd921c2d7d8a0a9db33.min.css' is wrong. [] []
[2023-11-03T09:20:32.353040+00:00] main.CRITICAL: Requested path '_cache/merged/8ce44e6dea119fd921c2d7d8a0a9db33.min.css' is wrong. [] []
[2023-11-03T09:39:37.422654+00:00] main.ERROR: Requested path '_cache/merged/ad696354e4172db8cf181b2bcb1cb38d.min.css' is wrong. [] []
[2023-11-03T09:39:37.423042+00:00] main.CRITICAL: Requested path '_cache/merged/ad696354e4172db8cf181b2bcb1cb38d.min.css' is wrong. [] []
[2023-11-03T09:46:29.034079+00:00] main.ERROR: Requested path '_cache/merged/9f9f2d92cedb88ac3a868b5ecc417115.min.css' is wrong. [] []
[2023-11-03T09:46:29.034510+00:00] main.CRITICAL: Requested path '_cache/merged/9f9f2d92cedb88ac3a868b5ecc417115.min.css' is wrong. [] []
[2023-11-03T09:58:04.473543+00:00] main.ERROR: Requested path '_cache/merged/536289d868968865e89c3d8337af7a61.min.css' is wrong. [] []
[2023-11-03T09:58:04.473959+00:00] main.CRITICAL: Requested path '_cache/merged/536289d868968865e89c3d8337af7a61.min.css' is wrong. [] []
[2023-11-03T10:06:16.277563+00:00] main.ERROR: Requested path '_cache/merged/01276e2251523b00b103377eeeec41a6.min.css' is wrong. [] []
[2023-11-03T10:06:16.277965+00:00] main.CRITICAL: Requested path '_cache/merged/01276e2251523b00b103377eeeec41a6.min.css' is wrong. [] []
All 8 store views that's using Smartwave Porto theme is working perfect. We are not sure why Magento is logging this error?!
If we do a "view source" in the browser, all paths to the sites CSS is working. Also, all the 8 the sites are working as the should.
- We use
Magento 2.4.6-P3
. php bin/magento cache:flush/clean
doesn't do the trickphp bin/magento setup:static-content:deploy
doesn't do the trick either.- No other errors found anywhere in logs.
How can we get rid of all these error messages in our system.log file, or find what's causing this error?
Thanks,
--- Update ---
We have these lines in our Apache access logs (404):
217.211.1.000 - - [03/Nov/2023:11:47:32 +0100] 176 656 "GET /static/version1698421387/_cache/merged/9f9f2d92cedb88ac3a868b5ecc417115.min.css HTTP/2.0" 404 617 "-" "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Mobile Safari/537.36" www.website.com 443
Can it be a cache thing? If so, how to tell the browsers not to cache these CSS-files?