• kcaluwae

    (@kcaluwae)


    One of our users can no longer edit certain posts because of a javascript error. This results in a blank page instead of the editor.

    Looking in the browser console I see the following error:

    Uncaught error: ace.edit can’t find div #single_custom_css_ace
    at object.t.edit (ace.js?ver=5.3.2.1)
    at HTMLDocument.<anonymou> (scripts-ace.js?ver=5.3.2.2)
    ….

    The user can still create new posts and currently encounters this problem only with 2 posts. Other posts can still be edited.

    We have a plugin “WP Add Custom CSS” but none of the posts that have problems had custom CSS so I’m not sure if it’s related.
    When searching for ACE edit I noticed that there is a plugin with this name but that plugin is not installed.

    Hard refresh, clearing browser cache does not solve the problem.
    The problem occurs in both MS Edge as Google Chrome (no other browsers installed)

    Other users have no problems editing the same posts and do not encounter this Javascript problem when they edit the specific posts that this user can no longer edit.

    All users are using the same Chrome browser (Version 80.0.3987.116 (Official Build) (64-bit))

Viewing 1 replies (of 1 total)
  • ronaldvw

    (@ronaldvw)

    Hi,

    ace.js is definitely not part of core WordPress. Although you may not have installed AceIDE, other plugins, or perhaps the active theme may include Ace-related code and functions.

    Try deactivating all plugins, then activate one by one to see when the issue occurs. The Healthcheck and troubleshooting plugin (https://www.ads-software.com/plugins/health-check/) allows you to do so for the logged in user, so it won’t affect the site for other visitors.

    On the error: the Javascript is try to get an element (div) #single_custom_css_ace in the DOM, but can’t find it.

Viewing 1 replies (of 1 total)
  • The topic ‘Ace.edit js error causes blank edit screen on certain posts for 1 user’ is closed to new replies.