Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator James Huff

    (@macmanx)

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter Unity2014

    (@unity2014)

    I replaced all of the WordPress files, minus the wp-config.php file and wp-content folder, and it did get rid of some of the Java Script errors.

    However, the editor still looks weird for pages and posts. See screenshot:

    https://content.screencast.com/users/folkmaiden/folders/Jing/media/a51f0330-5b11-4a58-831b-c12256691f95/2016-02-17_1509.png

    And, when I “visit page” while logged in, the black editing menu at the top is no longer there. Instead, there is a navigation pane at the bottom of the website below the footer with links to the various dashboard items.

    Moderator James Huff

    (@macmanx)

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Sixteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter Unity2014

    (@unity2014)

    I tried deactivating the plugins and widgets and that did not help. I also switched the the twenty sixteen theme, but got the same javascript errors. I tried overwriting the wp-includes file, that didn’t work either.

    Thread Starter Unity2014

    (@unity2014)

    javascript errors are also preventing the slider images from loading on the homepage as well…

    Moderator James Huff

    (@macmanx)

    That’s very odd. I wonder if a browser extension, or issue in the browser, is causing the JavaScript to fail.

    First, please make sure that your browser is up to date by visiting https://whatbrowser.org/

    If it is not, please try updating your browser or switching to a different browser.

    If it is, please do these two things:

    1. Try clearing your browser’s cache and cookies.

    2. Try with all browser extensions or add-ons temporarily disabled.

    Please let us know how each step goes for you, and which browser (and version of) you’re using if you’re still having trouble.

    Thread Starter Unity2014

    (@unity2014)

    I am using the latest version of Chrome. I also have the same javascript errors on Internet Explorer (latest version), so I don’t think the browser is the problem.

    Thread Starter Unity2014

    (@unity2014)

    I even tried logging into the admin panel from a completely different computer, using the firefox browser… and still same issues. The slider images are not loading either.

    Moderator James Huff

    (@macmanx)

    Can you get any more on the errors besides them just failing to get the resources?

    Are you doing anything server-level to minify or defer JavaScript, like mod_pagespeed?

    Thread Starter Unity2014

    (@unity2014)

    Thread Starter Unity2014

    (@unity2014)

    I am not really a wordpress developer… do you think I can fix these errors myself with the help of this support forum?

    Moderator James Huff

    (@macmanx)

    So, those are core WordPress files that it says are missing.

    Can you see if the “missing” files are actually there in /wp-includes/js/ ?

    Thread Starter Unity2014

    (@unity2014)

    I tried replacing the wp-includes folder again, but this time, instead of just overwriting the files, I renamed the folder and uploaded the new one. It worked! All the issues are fixed. Thank you for your support! ??

    Moderator James Huff

    (@macmanx)

    You’re welcome!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Java Script Errors with WP 4.4.2’ is closed to new replies.