we are experiencing an issue each time we place an ACF block on a page. We get a spinning wheel and nothing every happens. Clicking on edit or preview makes no difference. Once we update / publish the page and refresh, the form displays correctly.
Why would this be occurring?
This is the error in our WP log file
Undefined index: id in /wp-content/plugins/advanced-custom-fields-pro/pro/blocks.php on line 598
We also receive a JS error
Uncaught TypeError: Cannot read property ‘form’ of undefined
Uncaught TypeError: Cannot read property ‘preview’ of undefined
We have tried installing the plugin as well as updating to the newest version. Both to no avail.