• Resolved bakero

    (@bakero)


    Hello everyone,

    I’m having trouble with a Meta Box repeater field (type: 'group', clone: true) defined in my theme’s functions.php. I’m using the free version of Meta Box.

    The issue (in WordPress admin, for ‘post’ post type):

    • Labels for nested fields (e.g., “Title”, “Text”) are missing.
    • Only one sub-field is displayed per item, instead of the two defined.
    • Only the first added repeatable item saves; others disappear after updating.

    I’m seeing this PHP warning in my debug.log: PHP Warning: Undefined array key "clone" in /path/to/my/wordpress/wp-content/plugins/meta-box/inc/meta-box.php on line 242

    Troubleshooting already performed:

    • Confirmed 'type' => 'group' is uncommented.
    • Reinstalled Meta Box plugin (manual FTP upload of latest version).
    • Deactivated all other plugins.
    • Switched to default WordPress theme (Twenty Twenty-Four).
    • max_input_vars is 3000-5000 (verified via phpinfo()).
    • No JavaScript errors in browser console.

    My WordPress is up to date, and PHP version is 8.1.

    Here’s an example of the field definition I’m trying to use (similar to basic examples from Meta Box docs): https://docs.metabox.io/extensions/meta-box-group/

    Any help is appreciated. Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Hi @bakero ,

    As you’re using the free version of Meta Box, you shouldn’t have access to the repeater/group feature, as it’s a premium functionality. If you’re using a theme that bundles MB Group extension, then the theme author is responsible for updating the extension, and/or resolving the issue with implementing this feature in the theme.

    Anyway, as this is a premium feature, please open a support thread on our support forum as this forum is for supporting Meta Box free only.

Viewing 1 replies (of 1 total)

The topic ‘Meta Box Repeater (Group, Clone) Issue: “Undefined array key clone” Warning’ is closed to new replies.