Home Forums Backend Issues (wp-admin) JS error when changing template


JS error when changing template

  • I have inherited a site that uses ACF with fields defined in PHP (I assume with the ACF tool to generate it). The site also uses a WordPress hook to disable Gutenburg; add_filter(‘use_block_editor_for_post’, ‘__return_false’);

    When creating or editing a page and I attempt to change the page template, I’m getting a JS error:
    Uncaught TypeError: Cannot read property ‘jQuery351050915779387886921’ of undefined

    If I remove the filter to disable Gutenburg, then the error does not occur. If I remove the field definitions then the error does not occur.

    Any ideas as to what the issue might be, or how I might troubleshoot it? Is there a way to reverse engineer the PHP back to ACF configuration?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.