Something went wrong. Please try again!

Support MB Builder Something went wrong. Please try again!

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #50038
    JCJC
    Participant

    Hi there,

    when I try to edit some of my Custom Field Groups, I get an error message: Something went wrong. Please try again!

    Console says: [Error] SyntaxError: '#603554e9c31e3' is not a valid selector.
    querySelector
    (anonyme Funktion) — 4522.app.js:1:684

    Perplexity suggests this:
    We can reproduce a builder crash when editing multiple custom field groups in Meta Box AIO.
    Our field-group JSON uses valid IDs only, for example nd-gallery-news-field-group and field IDs like nd-gallery-news-content.
    However, the builder throws SyntaxError: '#603554e9c31e3' is not a valid selector, which suggests Meta Box generates an internal element ID starting with a digit and then passes it unescaped into document.querySelector().
    After that, a secondary error appears: TypeError: null is not an object (evaluating 'document.querySelector("#post_title").removeEventListener').
    This looks like a Builder/React frontend bug rather than a field schema issue. Please check whether internal IDs should be escaped with CSS.escape() or accessed via getElementById() instead.

    Best JC

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.