cancel
Showing results for 
Search instead for 
Did you mean: 

Errors on admin page

SOLVED

Errors on admin page

There are errors on admin pages and is unable to open sub menu.

Do you have any suggestions to fix them?

 

http://127.0.0.1/magento2/pub/static/adminhtml/Magento/backend/en_US/Magento_Ui/js/lib/logger/entry.... 0 ()
require.js:166 Uncaught Error: Script error for: Magento_Ui/js/lib/logger/entry
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)
require.js:1895 GET http://127.0.0.1/magento2/pub/static/adminhtml/Magento/backend/en_US/jquery/jquery-ui-timepicker-add... 0 ()
Uncaught Error: Script error for: jquery/jquery-ui-timepicker-addon
http://requirejs.org/docs/errors.html#scripterror
at makeError (require.js:166)
at HTMLScriptElement.onScriptError (require.js:1681)

 

4 REPLIES

Re: Errors on admin page

Hello @tvgarden

 

please, do static content deploy and check again.

 

 

Re: Errors on admin page

Hi @tvgarden

 

You have issue of static content !!

 

to resolved this you need to run below command from SSH terminal :

 

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

 

After that clear and flush cache and check it will works 

if issue solved,Click Kudos & Accept as Solution

Re: Errors on admin page

Kindly check your magento instance with root folder has .htaccess or not? If already exist then check inside pub/static folder with .htaccess file exist or not? if not then add .htaccess file from https://github.com/magento/magento2/blob/2.2-develop/pub/static/.htaccess

 

Now run command from magento,

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f en_US
If Issue Solved, Click Kudos/Accept As solutions.

Re: Errors on admin page

@Rakesh Jesadiya @ManthanDave @Sunil Patel

Thank you it's fixed.