Content in SCF blocks disappears
-
We migrated a site that’s currently in-development over to a different server. Upon doing this, the content in some SCF blocks now suddenly disappears when editing posts.
There are console errors related to the REST API and the SCF plugin script in the Javascript console.
Uncaught TypeError: Cannot read properties of undefined (reading 'buttons')
at Object.buildQuicktags (acf-input.min.js?ver=6b0a30225a1:1:21042)
at Object.initializeQuicktags (acf-input.min.js?ver=6b0a30225a1:1:20862)
at Object.initialize (acf-input.min.js?ver=6b0a30225a1:1:19744)
at n.initialize Editor (acf-input.min.js?ver=6b0a30225a1:1:33312)
at n.initialize (acf-input.min.js?ver=6b0a30225a1:1:32955)
at n.e (acf.min.js?ver=f3916.df5768dcbda:1:7399)
at o (acf.min.js?ver=f3916.df5768dcbda:1:7081)
at Object.doAction (acf.min.js?ver=f3916.df5768dcbda:1:6243)
at i.doAction (acf.min.js?ver=f3916.df5768dcbda:1:43720)
at acf.min.js?ver=f3916.df5768dcbda:1:53363We’ve tried the following:
- moved a copy of the website to the local
- disabled all plugins except SCF
- disabled MU Plugins
- tried manually to recreate the field group for the 1 block
- switched theme to the default
- tried different hooks to fix the issue
- updated plugins
- updated parent theme
- updated WordPress (re-install it on the Updated page)
- tried incognito, cleared cookies, etc
When working with custom blocks in the editor, the content is often completely deleted from the custom block. Editing the page using the Code Editor, we’re able to edit content and save without issue, but using the visual editor will delete data from custom blocks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.