• Hi,

    After upgrading to WordPress 4.1, the visual post/page editor is not loading.

    The text/html editor also don′t work.

    All text in the text area of post/page are white over white background.

    My problem is resolved with this step from:
    https://codex.www.ads-software.com/Using_Your_Browser_to_Diagnose_JavaScript_Errors

    Step 2: Enable SCRIPT_DEBUG
    You need to turn on script debugging. Open wp-config.php and add the following line before "That's all, stop editing! Happy blogging".
    
    define('SCRIPT_DEBUG', true);
    Check to see if you are still having an issue.
    
    Issue is fixed - turn off script debugging and report the issue on the support forum, telling the volunteers the you turned on script debugging and it solved the problem.

    Also my problem is very related to this one:

    https://stackoverflow.com/questions/25441109/major-problems-with-the-visual-editor-and-no-solutions-yet?rq=1

    What I’ve tried so far too:

    I’ve tried disabling all the plugins, including renaming the plugin directory and ultimately uninstalling ALL plugins and making sure the plugin directory is completely empty. Hasn’t worked.

    I’ve tried changing themes over to the Twenty “x” theme and that doesn’t help. I still have those problems on the default theme.

    I’ve tried reinstalling WordPress 4.0.1 twice automatically (via my host’s script) and one time manually but that hasn’t helped. (I deleted everything but the wp-config file and the wp-content directory.)

    I’ve tried it on various browsers (IE10, the latest version of Chrome, Safari, and the latest version of Firefox and Torch) and on several different computers and android tablets and the results are the same on each.

    I’ve cleared all caches several times but no work too.

    Only thing that makes the editors come back to work is enabling the SCRIPT DEBUG in wp-config.php

    Is there a way to overcome this? To repair what error is this?

    thanks in advance.
    Peter

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Only thing that makes the editors come back to work is enabling the SCRIPT DEBUG in wp-config.php

    Your problem, ultimately, is indeed caching.

    The SCRIPT_DEBUG line basically turns off the script concatenation in the WordPress admin. This means that instead of loading one URL which loads all the javascripts at once, it splits them up and loads them individually. This is much slower and handy for debugging (because the scripts are then readable to a developer), but it also means that you’re loading different URLs for those scripts and getting “fresh” copies.

    Somewhere, you have caching enabled which you have not fully cleared. Maybe you’re running on CloudFlare, maybe you have a plugin, or maybe a proxy between you and your site somehow. It’s hard to say. But when SCRIPT_DEBUG fixes it, it’s virtually always a cache somewhere getting in your way.

    The other alternative is that you have an incomplete upgrade, missing some of the updated script files. Click the “Reinstall WordPress” button on the update screen to check for that. Don’t worry, it just reupdates the core files, you will lose nothing by clicking it.

    Thanks Peter, I had the same issue on two web sites and your solution fixed the gug. I was becoming crazy!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wordpress 4.1 visual editor not working, error in html editor too’ is closed to new replies.