Uncaught TypeError: MBR_Admin_Filter::get_selected_item():
Support › Meta Box AIO › Uncaught TypeError: MBR_Admin_Filter::get_selected_item():
- This topic has 4 replies, 2 voices, and was last updated 6 months, 2 weeks ago by
Philipp.
-
AuthorPosts
-
October 25, 2024 at 3:23 PM #46762
Philipp
ParticipantHi there,
I noticed that my internal search is not working anymore (filtering pages).
I received the following mail:Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 168 der Datei /data/sites/web/bum6futcmyrdbxio/www/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-relationships/inc/relationship/admin-filter.php verursacht. Fehlermeldung: Uncaught TypeError: MBR_Admin_Filter::get_selected_item(): Argument #1 ($id) must be of type int, string given, called in /data/sites/web/bum6futcmyrdbxio/www/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-relationships/inc/relationship/admin-filter.php on line 80 and defined in /data/sites/web/bum6futcmyrdbxio/www/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-relationships/inc/relationship/admin-filter.php:168
Stack trace:
#0 /data/sites/web/bum6futcmyrdbxio/www/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-relationships/inc/relationship/admin-filter.php(80): MBR_Admin_Filter->get_selected_item('', '...')
#1 [internal function]: MBR_Admin_Filter->add_filter_select(Object(MBR_Relationship), '...')
#2 /data/sites/web/bum6futcmyrdbxio/www/wp-content/plugins/meta-box-aio/vendor/meta-box/mb-relationships/inc/relationship/admin-filter.php(44): array_walk(Array, Array)
#3 /data/sites/web/bum6futcmyrdbxio/www/wp-includes/class-wp-hook.php(326): MBR_Admin_Filter->add_filter_for_posts('...')
#4 /data/sites/web/bum6futcmyrdbxio/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#5 /data/sites/web/bum6futcmyrdbxio/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /data/sites/web/bum6futcmyrdbxio/www/wp-admin/includes/class-wp-posts-list-table.php(594): do_action('...', '...', '...')
#7 /data/sites/web/bum6futcmyrdbxio/www/wp-admin/includes/class-wp-list-table.php(1687): WP_Posts_List_Table->extra_tablenav('...')
#8 /data/sites/web/bum6futcmyrdbxio/www/wp-admin/includes/class-wp-list-table.php(1620): WP_List_Table->display_tablenav('...')
#9 /data/sites/web/bum6futcmyrdbxio/www/wp-admin/edit.php(503): WP_List_Table->display()
#10 {main}
thrownI already updated everything to the latest version, but the error remains.
Can you tell me how to solve this?
Thank you
PhilippOctober 25, 2024 at 10:54 PM #46770Peter
ModeratorHello Philipp,
Can you please share some screenshots of the issue when filtering the page by relationship value? I try to reproduce the issue but don't see that, the filter is still working well.
Also, please try to deactivate all plugins except Meta Box, MB AIO, switch to a WordPress theme and see if it helps.November 4, 2024 at 8:13 PM #46822Philipp
ParticipantHello Peter,
thanks for your reply!
I did as you asked and deactivated all plugins (but Metabox Version 5.10.3) and also activated a wordpress standard theme. I get the error when activating the Plugin "Metabox AIO" (Version 1.30.4 ).
So I could pinpoint the error the The Metabox AIO plugin.
What are the next steps?
Thanks
PhilipNovember 4, 2024 at 8:31 PM #46823Peter
ModeratorHello,
Please share your site credentials by submitting this contact form https://metabox.io/contact/
I will take a look.November 4, 2024 at 8:47 PM #46824Philipp
ParticipantHi Peter,
I have send you the login credentials, thank you for checking!
Philipp
-
AuthorPosts
- You must be logged in to reply to this topic.