Advanced Rules → Add Rule button non-functional

Support MB Builder Advanced Rules → Add Rule button non-functionalResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #48951
    Lucid ReverieLucid Reverie
    Participant

    Hi,

    I'm getting no response when clicking the "Add Rule" button under Field group settings → Location. This occurs on multiple browsers. It is only unresponsive on one Field Group. Older or newer field groups work as expected. Browser console shows no errors. /wp-json/mbb/include-exclude does not appear to be triggering upon click. Is this a known issue?

    Using Meta Box AIO 3.0.1, WordPress 6.8.2, PHP 8.3.22.

    I can provide access to a staging site if that is helpful. Thanks.

    #48956
    PeterPeter
    Moderator

    Hello Lucid,

    Thanks for reaching out.

    Can you please export the field group to a JSON file and share it here? I will import it to my demo site and investigate the issue.
    Following the documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    #48959
    Lucid ReverieLucid Reverie
    Participant

    Hi,

    Thank you for the reply. Here is the JSON contents:

    {
        "$schema": "https://schemas.metabox.io/field-group.json",
        "context": "side",
        "fields": [
            {
                "type": "select",
                "id": "post_display_order",
                "name": "Post Display Order",
                "size": 3,
                "admin_columns": {
                    "position": "before date",
                    "sort": "numeric"
                },
                "tooltip": {
                    "content": "Order of the post in the <a href=\"/news\">News</a> page."
                },
                "std": 99,
                "options": {
                    "99": "Default",
                    "01": "1",
                    "02": "2",
                    "03": "3",
                    "04": "4",
                    "05": "5",
                    "06": "6",
                    "07": "7",
                    "08": "8",
                    "09": "9"
                },
                "datalist": {
                    "id": "68c0cafec953a",
                    "options": [
                        "01",
                        "02",
                        "03",
                        "04",
                        "05",
                        "06",
                        "07",
                        "08",
                        "09"
                    ]
                }
            }
        ],
        "id": "post-fields",
        "modified": 1757465342,
        "title": "Post fields"
    }

    It works as expected when I import this into a demo site. On the "broken" site deactivating all other plugins except Meta Box AIO did not help.

    #48960
    Lucid ReverieLucid Reverie
    Participant

    Deleting the field group and re-importing fixed the issue on the staging site. I will probably do this on the production site.

    #48963
    PeterPeter
    Moderator

    Yes, I've imported the field group from your JSON code, but didn't see the issue. Please try to create a backup of your production site and re-import field groups to fix the issue.

    Let me know how it goes.

    #48966
    Lucid ReverieLucid Reverie
    Participant

    Re-importing fixed the issue, although I am unsure what caused the original problem. You can mark as resolved. I will reply in this thread if I experience the issue again. Thanks for your attention.

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