cancel
Showing results for 
Search instead for 
Did you mean: 

[ERROR] Failed to load the "Magento_Ui/js/grid/tree-massactions" component.

[ERROR] Failed to load the "Magento_Ui/js/grid/tree-massactions" component.

I have just installed a fresh Magento 2.2.5 on my localhost (Windows 10 + WAMP, PHP 7.1) with all the demo data. When entering the back-office and going to pages such as "All customers" or "Catalog"->"Products", the page loads partially with the rotating loader animation and nothing else.

Looking at the developer tools console, I see this error: [ERROR] Failed to load the "Magento_Ui/js/grid/tree-massactions" component.

I have searched everywhere for an answer for this issue and couldn't find it online. Would appreciate assistance.

Thank you

3 REPLIES 3

Re: [ERROR] Failed to load the "Magento_Ui/js/grid/tree-massactions" component.

Hi @doclucas

 

Well, After installed Magento 2.2.5 , have you run the deploy and compile command ?

 

Run below command from your SSH terminal in sequence :

 

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

Then check , it will works !

 

Hope it helps

if issue solved,Click Kudos & Accept as Solution

Re: [ERROR] Failed to load the "Magento_Ui/js/grid/tree-massactions" component.

Thanks, Dave

I haven't run these commands, so I did as you suggested.

The 2nd command failed (memory error) so I had to change it to:

php -dmemory_limit=5G bin/magento setup:di:compile

After done successfully with all the commands, now nothing loads at all.

The front-end is blank. The back end has redirects errors and blank page.

Any way to fix this?

 

Thanks again

 

P.S. the console now shows:


2/%7B%7BMEDIA_URL%7D%7Dstyles.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)

 

That's in the front end.

Re: [ERROR] Failed to load the "Magento_Ui/js/grid/tree-massactions" component.

Update:

I have ran the commands again. After that the front-end loads fine, but the back-end still shows "too many redirects" and when I look at the URL I see "https://localhost/admin/admin/index/index/key/c38472874a277793f3bffa490157f1ca758d5b8579afe316463412667d63728a/" while /admin should appear only once.

 

Also sometimes I see: "https://localhost/admin/admin/index/denied/key/3ad7fcf689ee8639b9c4806f90517925eeee3487e42e0c89b08774932b25cc65/"

 

I already cleared all cache and cookies and even tried incognito.

Any suggestions?