Magento 2 Admin Panel Menu Not Working – Troubleshooting Guide

javascriptmagento2.2.2

I just installed a fresh copy of Magento 2.2.2 and the menu (the one on the left side) is not working in the admin panel. Nothing happens when you click the icon.

I checked the Chrome console and these errors are showing:
enter image description here

I am running CentOS 7, Centminmod with PHP 7.1.13. Any help will be highly appreciated.

Thanks.

Best Answer

You should try disable static file versionning.

Go in Store > Config > Advanced > Developer > Static Files Settings > Sign Static Files and set option to "No".

If you can't navigate in admin, then go to core_config_data table in mysql database.

Search for path 'dev/static/sign' and set value to 0.

Clean cache :

rm -rf var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/ var/di/ pub/static/frontend/ pub/static/adminhtml/

Then reload your admin page. Hope it helps.