Call to undefined function rwmb_get_registry() - Frontend Submission

Support General Call to undefined function rwmb_get_registry() - Frontend Submission

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5754
    YasinYasin
    Participant

    Hello

    When i use this shortcode

    echo do_shortcode( '[mb_frontend_form id="personal"]' );

    when Frontend Submission is installed i get

    Fatal error: Call to undefined function rwmb_get_registry() in /home/ubuntu/workspace/wp-content/plugins/mb-frontend-submission/inc/class-mb-frontend-form-shortcode.php on line 91

    error.

    And the sample metabox is

    	$meta_boxes[] = array(
    		'id'         => 'personal',
    		'title' => esc_html__( 'İç Özellikler', 'your-prefix' ),
    		'post_types' => array( 'emlak' ),
    		'class'   => 'emlak_icozellikler',
    		'hidden' => array( 'emlak_tipi', '!=', 'konut' ),
    		'fields' => array(
    			array(
    				'name'    => esc_html__( 'İç Özellikleri Seçin', 'your-prefix' ),
    				'label_description' => esc_html__( 'Birden fazla İç Özellik seçebileceğinizi unutmayın', 'your-prefix' ),
    				'id'      => "icozellik",
    				'type'    => 'checkbox_list',
    				
    				//'field_type' => 'checkbox_list',
    			
    				// Array of 'value' => 'Label' pairs for radio options.
    				// Note: the 'value' is stored in meta field, not the 'Label'
    				'options' => array(
    					'1' => esc_html__( 'ADSL', 'your-prefix' ),
    
    				),
    			),
    		),
    	);
    #5756
    YasinYasin
    Participant

    Solved after updating the plugin, i just realized the 4.11+ warning.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Call to undefined function rwmb_get_registry() - Frontend Submission’ is closed to new replies.