• 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:53363

    We’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)
  • Plugin Author Héctor Prieto

    (@priethor)

    Hi @inverseparadox ,

    Thanks for reporting this issue. To help us investigate, could you please provide:

    1. WordPress version
    2. PHP version
    3. Active theme (and whether issue persists with a default theme like Twenty Twenty-Four)
    4. Other active plugins (or whether issue persists with only SCF active)
    5. What changed during the server migration (PHP version, hosting provider, server software)?
    6. Browser console output – the full error stack trace if possible
    7. Can you reproduce on a fresh WordPress install?

    Any additional details about your server environment before and after migration would help narrow this down.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.