Support Forum
Support › Meta Box – FacetWP Integrator › PHP Warning: Undefined array key / class-mb-facetwp-integrator.php
Hello there, wp_debug reports this error below. I activated debug as FacetWP does not work with Metabox as it should. I do have other issues with Metabox as well, I believe they are connected.
I appreciate your help 🙂
[05-Jun-2023 15:13:15 UTC] PHP Warning: Undefined array key "Miesbach" in /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-facetwp-integrator/class-mb-facetwp-integrator.php on line 124
[05-Jun-2023 15:13:15 UTC] PHP Fatal error: Uncaught TypeError: Illegal offset type in /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-facetwp-integrator/class-mb-facetwp-integrator.php:124
Stack trace:
#0 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-facetwp-integrator/class-mb-facetwp-integrator.php(94): MB_FacetWP_Integrator->index_field_value()
#1 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-includes/class-wp-hook.php(308): MB_FacetWP_Integrator->index()
#2 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#3 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-content/plugins/facetwp/includes/class-indexer.php(375): apply_filters()
#4 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-content/plugins/facetwp/includes/class-indexer.php(280): FacetWP_Indexer->index_post()
#5 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-content/plugins/facetwp/includes/class-ajax.php(98): FacetWP_Indexer->index()
#6 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-content/plugins/facetwp/includes/class-ajax.php(46): FacetWP_Ajax->rebuild_index()
#7 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-includes/class-wp-hook.php(308): FacetWP_Ajax->switchboard()
#8 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#9 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-settings.php(623): do_action()
#11 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-config.php(89): require_once('...')
#12 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-load.php(50): require_once('...')
#13 /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-admin/admin-ajax.php(22): require_once('...')
#14 {main}
thrown in /var/www/vhosts/m80-jobstarter.de/httpdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-facetwp-integrator/class-mb-facetwp-integrator.php on line 124
Is there any hope of finding a solution for this? 🙂
Hello,
Sorry for the late reply. Can you please let me know how to reproduce the issue from a fresh installation of WordPress and Meta Box?
Hi Peter thank you for your reply.
All I can tell is that Metabox and FacetWP seem to have an issue. So this should reappear on a fresh installation.
This issue appears on a fairly complex website. I sincerely hope that this does not mean I have to rebuild that website. That would take me more than 80 hours of work and would probably make my customer cancel my contract...
I am happy to create a staging copy with full access (even to files and DB) if you like
Hello,
Please share your staging site credentials via this contact form https://metabox.io/contact/
I will take a look.
Done 🙂 I activated a maintenance plugin (it simply posts a maintenance message on frontend) you can easily disable it should you need to.