Hi, can you fix the problem for the code below?
If I disable Meta Box For Yoast SEO, it's ok.
Thanks
Alessandro
$form = '[mb_user_profile_register id="form" label_submit="'.esc_attr__('Register', 'dealers').'" confirmation="'.esc_attr__('Your account has been created successfully. Wait for activation.', 'dealers').'"]';
echo do_shortcode( $form );
<form class="rwmb-form" method="post" enctype="multipart/form-data" encoding="multipart/form-data" id="register-form"><input type="hidden" name="rwmb_form_config" value="8170da246c963bd3f25592745ba02523"><br>
<b>Fatal error</b>: Uncaught Error: Call to undefined function get_current_screen() in /wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-yoast-seo/mb-yoast-seo.php:36
Stack trace:
#0 /wp-includes/class-wp-hook.php(286): MB_Yoast_SEO->enqueue(Object(RW_Meta_Box))
#1 /wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /wp-content/plugins/meta-box/inc/meta-box.php(179): do_action('rwmb_enqueue_sc...', Object(RW_Meta_Box))
#4 /wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Forms/Base.php(55): RW_Meta_Box->enqueue()
#5 /wp-content/plugins/meta-box-aio/vendor/meta-box/mb-user-profile/src/Shortcodes/Base.php(47): MBUP\Forms in <b>/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-yoast-seo/mb-yoast-seo.php</b> on line <b>36</b><br>
</form>