Hide Front Front Error within Groups
Support › MB Frontend Submission › Hide Front Front Error within Groups
- This topic has 1 reply, 2 voices, and was last updated 4 days, 22 hours ago by
Peter.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
November 30, 2025 at 9:54 PM #49440
Nicholas Cox
ParticipantHi
When i use 'hide_from_front' => true in a group field i receive an error when saving the form below.
'type' => 'group', 'id' => 'default_rules', 'name' => 'Default Rules', 'tab' => 'rules', 'clone' => true, 'clone_empty_start'=> true, 'sort_clone' => true, 'collapsible' => true, 'fields' => [ 'id' => 'video_rules', 'type' => 'text', 'hide_from_front' => true ...error
Warning: Undefined array key "video_rules" in C:\wamp\www\dcplatform\wp-content\plugins\drip-create-platform\assets\vendor\meta-box\meta-box\vendor\wpmetabox\support\Arr.php on line 206 Call Stack # Time Memory Function Location 1 0.0001 496352 {main}( ) ...\index.php:0 2 0.0001 496704 require( 'C:\wamp\www\dcplatform\wp-blog-header.php ) ...\index.php:17 3 0.1395 5524880 require_once( 'C:\wamp\www\dcplatform\wp-includes\template-loader.php ) ...\wp-blog-header.php:19 4 0.1395 5524880 do_action( $hook_name = 'template_redirect' ) ...\template-loader.php:13 5 0.1395 5530728 WP_Hook->do_action( $args = [0 => ''] ) ...\plugin.php:517 6 0.1395 5530728 WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) ...\class-wp-hook.php:348 7 0.1397 5531968 MetaBox\UserProfile\EmailConfirmation->confirm_user( '' ) ...\class-wp-hook.php:324 8 0.1397 5531968 rwmb_request( ) ...\EmailConfirmation.php:81 9 0.1399 5532456 RWMB_Request->__construct( ) ...\functions.php:325 10 0.1399 5532456 RWMB_Request->cleanup( $data = ['object_id' => '1102', 'mbfs_key' => 'b431e61b3aa9cec876f93b97ae90c5a2', 'action' => 'mbfs_submit', 'nonce_dcp-course-builder' => '8895d3edd9', '_wp_http_referer' => '/dcplatform/?template=dc-mb-iframe&metabox_id=dcp-course-builder&post_type=dcp_course&edit=true&post_id=1102&ajax=true&dc_auto_save=on&submit_button=Save&iframily=true&fixed_footer=true&referring_url=admin.php%3Fpage%3Ddrip-commerce-courses', 'rwmb_cleanup' => [0 => '[\\"default_rules.rules\\",\\"sections.*.section_rules.rules\\",\\"sections.*.videos.*.video_rules.rules\\",\\"sections.*.videos\\",\\"sections\\"]'], 'post_title' => 'Draft Course - Nov 20, 2025', 'course_description' => '', 'course_categories' => '2,3', 'course_tags' => '', 'default_rules' => ['rule_condition' => 'AND', 'rules' => [...]], 'sections' => [0 => [...], 1 => [...]]] ) ...\request.php:21 11 0.1399 5536592 MetaBox\Support\Arr::remove_first( $array = ['object_id' => '1102', 'mbfs_key' => 'b431e61b3aa9cec876f93b97ae90c5a2', 'action' => 'mbfs_submit', 'nonce_dcp-course-builder' => '8895d3edd9', '_wp_http_referer' => '/dcplatform/?template=dc-mb-iframe&metabox_id=dcp-course-builder&post_type=dcp_course&edit=true&post_id=1102&ajax=true&dc_auto_save=on&submit_button=Save&iframily=true&fixed_footer=true&referring_url=admin.php%3Fpage%3Ddrip-commerce-courses', 'rwmb_cleanup' => [0 => '[\\"default_rules.rules\\",\\"sections.*.section_rules.rules\\",\\"sections.*.videos.*.video_rules.rules\\",\\"sections.*.videos\\",\\"sections\\"]'], 'post_title' => 'Draft Course - Nov 20, 2025', 'course_description' => '', 'course_categories' => '2,3', 'course_tags' => '', 'default_rules' => ['rule_condition' => 'AND', 'rules' => [...]], 'sections' => [0 => [...], 1 => [...]]], $query = 'sections.*.videos.*.video_rules.rules' ) ...\request.php:56 12 0.1399 5537048 MetaBox\Support\Arr::remove_first( $array = [0 => ['section_title' => '', 'section_description' => '', 'section_rules' => [...], 'videos' => [...]], 1 => ['section_title' => 'Mod Title 1', 'section_description' => 'abcndff', 'section_rules' => [...], 'videos' => [...]]], $query = '*.videos.*.video_rules.rules' ) ...\Arr.php:207 13 0.1399 5537704 MetaBox\Support\Arr::remove_first( $array = ['section_title' => '', 'section_description' => '', 'section_rules' => ['rule_condition' => 'AND', 'rules' => [...]], 'videos' => [0 => [...]]], $query = 'videos.*.video_rules.rules' ) ...\Arr.php:196 14 0.1399 5538520 MetaBox\Support\Arr::remove_first( $array = [0 => ['video_title' => '', 'video_description' => '']], $query = '*.video_rules.rules' ) ...\Arr.php:207 15 0.1399 5539144 MetaBox\Support\Arr::remove_first( $array = ['video_title' => '', 'video_description' => ''], $query = 'video_rules.rules' ) ...\Arr.php:196December 1, 2025 at 11:24 PM #49449Peter
ModeratorHello Nick,
Thanks for reaching out.
I'm not able to reproduce the issue on my site when enabling the option
hide_from_frontfor subfields in a cloneable group field and submitting a user profile form. Could you please create a new field group with some sample fields and try to reproduce the issue?
Let me know steps you take on your site. -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.