Some had issues following the email sent by Google Search Console: Google cannot access CSS and JS files on your website.
This email was notifying you that Google Bot was not able to crawl CSS and JS files on your website.
This is because of some restrictions in your robots.txt file.
To solve your issue, you should add the following lines in your robots.txt:
If you don’t have a robots.txt in the root folder of your WordPress installation, you should create it with this content:
For further information about this alert, we recommend you read this post : How To Fix Googlebot Cannot Access CSS & JS Warning
Have a great day!