We have a couple of front-end forms so users can edit their custom fields. After the last update we are not getting a Fatal Error. Metabox AIO version 1.14.1 and Metabox version 5.4.6.
One of the pages is : https://ecfunders.org/grantees/grantee-form/
The error I'm getting is:
Fatal error: Uncaught Error: Call to undefined function get_current_screen() in /home/ecfunders/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-yoast-seo/class-mb-yoast-seo.php:21 Stack trace: #0 /home/ecfunders/public_html/wp-includes/class-wp-hook.php(292): MB_Yoast_SEO->enqueue(Object(RW_Meta_Box)) #1 /home/ecfunders/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #2 /home/ecfunders/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/ecfunders/public_html/wp-content/plugins/meta-box/inc/meta-box.php(179): do_action('rwmb_enqueue_sc...', Object(RW_Meta_Box)) #4 /home/ecfunders/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-frontend-submission/src/Form.php(82): RW_Meta_Box->enqueue() #5 /home/ecfunders/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-frontend-submission/src/Shortcode.php(34): MBFS\Form->render() #6 /home/ecfunders/public_html/wp-includes/shortcodes.php(343): MBFS\Shortcode->shortcode(Array, '', 'mb_fr in /home/ecfunders/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-yoast-seo/class-mb-yoast-seo.php on line 21
Thank you your help.