Deactivated all other plugins (except Timber required for my theme) and error persist.
Using Gutenberg editor.
I was able to narrow down what was causing the issue:
I have a script enqueued in the admin
wp_enqueue_script('admin', get_template_directory_uri() . '/assets/src/js/admin.js', array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-plugins', 'wp-components', 'wp-edit-post', 'wp-api', 'wp-editor', 'wp-hooks', 'lodash', ) , '1', false );
When I remove the following dependencies the error goes away
'wp-components', 'wp-edit-post', 'wp-api', 'wp-editor', 'wp-hooks'
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.