Symptoms
-
When browsing the website example.com, errors like the following are shown in the web browser console:
The script from “https://example.com/wp-includes/js/wp-embed.min.js?ver=5.4” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type.[Learn More]example.com
Loading failed for the <script> with source “https://example.com/wp-includes/js/wp-embed.min.js?ver=5.4”. -
In Network tab, few css or js show 404 error.
-
Some specific pages show
File not Found
, EG: example.com/wp-admin/profile.php. -
Sometime the following is added at the end of the website address: /login_up.php?success_redirect_url=https%3A%2F%2Fexample.com%2F
Cause
Bug in Plesk with ID #PPP-50362 which will be fixed in one of the future updates of Plesk.
Resolution
Until the bug is not fixed, apply the following solution:
-
Connect to the server via SSH.
-
Verify the integrity of Apache configuration:
-
On CentOS/CloudLinux/RedHat servers:
# httpd -t
Syntax OK -
On Debian/Ubuntu servers:
# apachectl -t
Syntax OK
-
-
If the configuration is fine, restart Apache:
-
On CentOS/CloudLinux/RedHat servers:
# systemctl restart httpd
-
On Debian/Ubuntu servers:
# systemctl restart apache2
-