user2277994
user2277994

Reputation: 77

Error when loading scripts in Wordpress admin

I am using Wordpress Images Gallery and each time I try to add new images I get this error in the console:

GET ... wp-admin/load-scripts.php?c=0&load%5B%5D=hoverIntent,common,admin-bar,svg-painter,heartbeat,wp-auth-check,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sorta&load%5B%5D=ble,thickbox,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,moxiejs,plupload,wp-plupload&ver=4.9.8 net::ERR_CONNECTION_RESET

Everything worked perfectly until recently and I really don't know what could be the cause. I do not have a lot of experience using Wordpress, so I am not sure what other information could be relevant. Also, the error seems kind of vague to me. I will provide further details if required.

I suspect there are too many scripts to load and that gives the error.

Thank you.

Upvotes: 0

Views: 1704

Answers (2)

Faizan Farooq
Faizan Farooq

Reputation: 320

If you are on AWS or any other platform where you have direct access to server through SSH. Try restartig Nginx with php-fpm.

sudo systemctl restart php8.?-fpm

If that doesn't work try to look for file if its present in wp-admin if not you might need to go to the pervious backup or re-install WordPress core file do it if you know what you doing.

Upvotes: 0

user2277994
user2277994

Reputation: 77

I disabled script concatenation in config and everything works. Thanks.

Upvotes: 1

Related Questions