Hi, the latest update on AIO (Version 1.14.1) cause the following error. Anyone know how to solve it cz now I was not able to update the site with Elementor:
Uncaught Error: Call to undefined function get_current_screen() in /var/www/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-yoast-seo/class-mb-yoast-seo.php:21 Stack trace: #0 /var/www/htdocs/wp-includes/class-wp-hook.php(303): MB_Yoast_SEO->enqueue(Object(RW_Meta_Box)) #1 /var/www/htdocs/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #2 /var/www/htdocs/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3 /var/www/htdocs/wp-content/plugins/meta-box/inc/meta-box.php(179): do_action('rwmb_enqueue_sc...', Object(RW_Meta_Box)) #4 /var/www/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-frontend-submission/src/Form.php(82): RW_Meta_Box->enqueue() #5 /var/www/htdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-frontend-submission/src/Shortcode.php(34): MBFS\Form->render() #6 /var/www/htdocs/wp-includes/shortcodes.php(356): MBFS\Shortcode->shortcode(Array, '', 'mb_frontend_for...')
Can you please share your case to reproduce the issue? Is there a frontend submit shortcode added to the page by using Elementor? If you do not use the plugin Yoast SEO, you can go to Meta Box > Extensions > Turn off the extension MB for Yoast SEO.
Hi, I'm having the same issue:
I use the shortcode to add the form to the frontend in an Elementor page: https://onetapconnect.com/design-form/
I do not use Yoast SEO.
Some of the custom field visibility setting aren't working in the backend either.
Please let me know how to fix this. Thanks.
Uncaught Error: Call to undefined function get_current_screen() in /var/web/site/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-yoast-seo/class-mb-yoast-seo.php:21 Stack trace: #0 /var/web/site/public_html/wp-includes/class-wp-hook.php(303): MB_Yoast_SEO->enqueue(Object(RW_Meta_Box)) #1 /var/web/site/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #2 /var/web/site/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3 /var/web/site/public_html/wp-content/plugins/meta-box/inc/meta-box.php(179): do_action('rwmb_enqueue_sc...', Object(RW_Meta_Box)) #4 /var/web/site/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-frontend-submission/src/Form.php(82): RW_Meta_Box->enqueue() #5 /var/web/site/public_html/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-frontend-submission/src/Shortcode.php(34): MBFS\Form->render() #6 /var/web/site/public_html/wp-includes/shortcodes.php(356): MBFS\Shortcode->shortcode(Array, '', 'mb_frontend_for...')
The form appear again but I had to make changes to the CSS to make it look normal.
But, I'm still having some issue with fields visibility of the testimonials section of the form. When selecting a testimonials style (video or written), the other fields should be visible. Right now they are always visible in the front end, but none visible i the backend.
Hi Long Nguyen, first I notice I didn't insert my license code then after insert then I proceed to update from 1.14.0 to the latest version 1.14.1 then this issue happen.
I didn't have MB Yoast turned on since I didn't have Yoast Plugin in my WordPress but I click on "Save Changes" again then the form shown up as normal. Thank you.