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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users