Fresh Magento - admin menu is not working

by Jeremy   Last Updated January 19, 2018 12:09 PM

Buttons on left admin menu does not react on mouse actions.

The error in console says

TypeError: Formatter is not a constructor

I tried


but nothing happens.

Answers 4

Run below commands ans check

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
Suresh Chikani
Suresh Chikani
January 19, 2018 11:30 AM

Error shows because of magento admin not able to get the js files values.

Possible Solutions 1 :

1) go to app/etc/di.xml find the line


and Replace it with


Possible Solutions 2 :

2) Goto Magento 2 root directory -> pub -> static and remove static folder and remove var/cache, var/composer_home, var/generation, var/page_cache, var/view_preprocessed

After that run below commands

  • php bin/magento setup:static-content:deploy

  • php bin/magento cache:clean

  • php bin/magento cache:flush

Manthan Dave
Manthan Dave
January 19, 2018 11:33 AM

Are you using Windows os?

If yes then may be issue related symlink file,

please follow the below steps to fix the same…

1)Remove everything, except .htaccess file from pub/static folder

2)Open up app/etc/di.xml find the path “Magento\Framework\App\View\Asset\MaterializationStrategy\Symlink” and replace to “Magento\Framework\App\View\Asset\MaterializationStrategy\Copy”

Note: Remove entire files and folder under pub/static except .htaccess file.

after run

php bin/magento setup:static-content:deploy -f

or for old magento2 version

 php bin/magento setup:static-content:deploy

i got same issue that time i was follow bellow


January 19, 2018 11:42 AM

Ok, so based on the description I see the following as possible solutions.

  1. You have broken generated code. In Magento 2.2.* the generation folder under var does not exist anymore, it has been moved to root folder of the installation under the folder generated. Clear the contents of that folder.
  2. You don't have a record for dev/static/sign in the core_config_data table and if you do it's set to 1 instead of 0. If you don't use the MySQL query below.

You haven't provided much information can't assumed anything else.

INSERT INTO 'core_config_data' ('path', 'value') 
VALUES ('dev/static/sign', 0) 
  1. You haven't cleared your browser cache.
André Ferraz
André Ferraz
January 19, 2018 12:03 PM

Related Questions

Can't login to Magento admin panel

Updated June 19, 2015 00:04 AM

Magento 2.1.2 Content > Pages Loading Loop

Updated February 05, 2017 14:03 PM

Magento 2 How to add custom grid

Updated October 07, 2017 12:09 PM

Magento Backend issues (Extjs)

Updated July 04, 2015 13:04 PM