Recent update has caused an error
- This topic has 6 replies, 3 voices, and was last updated 2 years, 4 months ago by
Peter.
-
AuthorPosts
-
December 6, 2022 at 10:07 PM #39555
Olivier
ParticipantHello,
I notice Meta Box got updated overnight, and now I'm receiving an error from WordPress.
Here are the details sent by WordPress:
Error Details ============= An error of type E_ERROR was caused in line 17 of the file /home4/ddxvjvmy/public_html/wp-content/plugins/meta-box/inc/helpers/array.php. Error message: Uncaught TypeError: RWMB_Helpers_Array::map(): Return value must be of type array, string returned in /home4/ddxvjvmy/public_html/wp-content/plugins/meta-box/inc/helpers/array.php:17 Stack trace: #0 /home4/ddxvjvmy/public_html/wp-content/plugins/meta-box/inc/fields/datetime.php(170): RWMB_Helpers_Array::map('November 16, 20...', 'RWMB_Datetime_F...', Array) #1 /home4/ddxvjvmy/public_html/wp-content/plugins/meta-box/inc/field.php(533): RWMB_Datetime_Field::meta(495, true, Array) #2 /home4/ddxvjvmy/public_html/wp-content/plugins/meta-box/inc/field.php(23): RWMB_Field::call(Array, 'meta', 495, true) #3 /home4/ddxvjvmy/public_html/wp-content/plugins/meta-box/inc/field.php(533): RWMB_Field::show(Array, true, 495) #4 /home4/ddxvjvmy/public_html/wp-content/plugins/meta-box/inc/meta-box.php(208): RWMB_Field::call('show', Array, true, 495) #5 /home4/ddxvjvmy/public_html/wp-admin/includes/template.php(1409): RW_Meta_Box->show(Object(WP_Post), Array) #6 /home4/ddxvjvmy/public_html/wp-admin/includes/post.php(2249): do_meta_boxes(Object(WP_Screen), 'normal', Object(WP_Post)) #7 /home4/ddxvjvmy/public_html/wp-admin/edit-form-blocks.php(316): the_block_editor_meta_boxes() #8 /home4/ddxvjvmy/public_html/wp-admin/post.php(187): require('/home4/ddxvjvmy...') #9 {main} thrown
So far the effect I've observed is that when editing a specific post, I get a blank page and can't edit it...
December 6, 2022 at 11:34 PM #39568Peter
ModeratorHello Olivier,
Thanks for your feedback.
This issue has been noticed and it will be fixed in the next update. Hopefully, it will be available soon.
December 7, 2022 at 6:12 AM #39573Olivier
ParticipantThank you Peter. I posted in another thread but should have probably posted here.
You mentioned that the latest version of Meta Box fixed the issue. What is the latest version? My dashboard still shows Version 5.6.12 and that's the one that caused the error. I see no update available.
I'm using Meta Box Pro but not AIO.
December 7, 2022 at 6:14 AM #39574Olivier
ParticipantHere is the error header from WordPress:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.1.1
Active theme: GeneratePress Child (version 0.1)
Current plugin: Meta Box (version 5.6.12)
PHP version 8.0.25December 7, 2022 at 11:34 PM #39597Peter
ModeratorHello,
This issue has been fixed in this commit https://github.com/wpmetabox/meta-box/commit/7ca1d85f7a685cdfabd85bdb65691b638ab4c747
You can try to apply the code on your site while waiting for the new update of Meta Box.Thanks.
December 8, 2022 at 1:20 AM #39599Shaun Quezada
ParticipantCustom Field settings "Advanced Location Rules" is not working. Can't select which page or post with the new update.
December 9, 2022 at 9:33 AM #39630Peter
Moderator@Shaun: Your issue might not relate to this topic, please create a new topic and share some details about that (screenshot). I will help you to check it.
-
AuthorPosts
- You must be logged in to reply to this topic.