Custom Fields
Re-Envisioned
Support General Beaver Builder, Metabox.io and Gutenberg

  • Creator
    Topic
  • #21328
    Resolved elindydotcom
    Participant

    I’m using Metabox.io to add a two fields to PAGES. With this in place, if you then edit any page and click on the LAUNCH BEAVER BUILDER button, you cannot launch beaver builder. You end up with a javascript error.

    You can launch BB if you hover over the page in the page list and click the BB link.

    BB is network activated.
    Metabox.io is network activated.
    BB Themer is network activated (deactivating it doesn’t make a difference)

    (I don’t think network activation has anything to do with this conflict though).

    This is reproducible even if nothing else is activated.

    Is this a known issue? Any ideas for a workaround?

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Author
    Replies
  • #21332
    Long Nguyen
    Moderator

    Hi there,

    Since WordPress 5.5 released, there are a lot of themes/page builder plugins that need to update the source code to compatible with the new feature of WP core.

    Please follow these steps to help me isolate the problem:

    • 1: Try to deactivate all plugins (leave only Beaver and BB Themer activate) and switch to the default theme of WordPress (Twenty Twenty) to check the problem again.
    • 2: If it solves the problem, you can activate the plugin Meta Box then recheck it. If the problem happens in this step, please let me know the version of Beaver (Lite or Agency) and BB Themer, open the Console tab to get the JavaScript error, take some screenshots of this problem then share on the next reply.
    • 3: If it does not solve the problem, please contact the Beaver support to get a better response.
    #21392
    elindydotcom
    Participant

    Hi:

    This is not a 5.5 issue – it was happening before 5.5 and site is still on 5.4.

    It’s definitely an issue between metabox.io and bb.

    Both the Beaver Builder plugin and the Beaver Themer plugin are at their latest versions.

    Here is an image of the error:
    08.21.2020-12.38

    Thanks!

    PS: Not receiving email notifications of replies from this forum for some reason hence the late reply.

    #21396
    Long Nguyen
    Moderator

    Hi,

    I’ve checked on my demo site (multisite also) with the latest version of WordPress, Meta Box, Beaver but not see any issue. Looking into the JavaScript error, there is an issue with React DOM while launching Beaver Builder on the editing page. There are two extensions that use React, MB Blocks and MB Views.

    Could you please check in the site if there is any broken View or custom block?

    #21940
    elindydotcom
    Participant

    Hi – I got some feedback from BB on this – here is what they said:

    Sorry for the wait! It looks like this issue is caused by this particular line in Metabox’s script.js file:

    // Detect Gutenberg.
    rwmb.isGutenberg = document.body.classList.contains( ‘block-editor-page’ );

    They’re detecting Gutenberg using a jQuery/JS that’s causing an error when the page is being redirected.

    Does this help?

    #21962
    Long Nguyen
    Moderator

    Hi,

    Thank you. I will pass this issue to the developer team to investigate further and let you know if there is any information.

    #22231
    elindydotcom
    Participant

    Hi:

    I just wanted to follow up on this to see if there’s any progress.

    Thanks.

    #22470
    elindydotcom
    Participant

    Hi:

    Still looking to follow up on this.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.