Support Forum
Support › MB Elementor Integrator › 5xx Error
Hello, I'm receiving a 5xx error on some of my pages with the MB Elementor Integration. Here's some of the code:
"Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /srv/users/..."
All plugins are updated. Please let me know how to fix this. Thanks.
Hi Josh,
Can you please share the full error message on your site? It will help us to find where the problem is.
Here (Example on this URL: https://referralrock.com/integration/salesforce/):
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/mb-elementor-integrator/src/GroupField.php:257 Stack trace: #0 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/mb-elementor-integrator/src/GroupField.php(257): count(false) #1 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/mb-elementor-integrator/src/Traits/Post.php(88): MBEI\GroupField->get_value_dynamic_tag('integration-tes...', 'integration-tes...', NULL) #2 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/mb-elementor-integrator/src/Traits/Fields/Text.php(16): MBEI\Tags\Post\Text->the_value() #3 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/dynamic-tags/tag.php(35): MBEI\Tags\Post\Text->render() #4 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php(216): Elementor\Core\DynamicTags\Tag->get_content() #5 [internal function]: Elementor\Core\DynamicTags\Manager->get_tag_data_content('a404265', 'meta-box-text', Array) #6 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php(109): call_user_func_array(Array, Array) #7 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php(74): Elementor\Core\DynamicTags\Manager->parse_tag_text('[elementor-tag ...', Array, Array) #8 [internal function]: Elementor\Core\DynamicTags\Manager->Elementor\Core\DynamicTags\{closure}(Array) #9 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/dynamic-tags/manager.php(73): preg_replace_callback('/\\[elementor-ta...', Object(Closure), '[elementor-tag ...') #10 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/includes/controls/base-data.php(91): Elementor\Core\DynamicTags\Manager->parse_tags_text('[elementor-tag ...', Array, Array) #11 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/includes/base/controls-stack.php(1272): Elementor\Base_Data_Control->parse_tags('[elementor-tag ...', Array) #12 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/includes/base/controls-stack.php(1123): Elementor\Controls_Stack->parse_dynamic_settings(Array) #13 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/post.php(298): Elementor\Controls_Stack->get_parsed_dynamic_settings() #14 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/post.php(226): Elementor\Core\Files\CSS\Post->render_styles(Object(Elementor\Widget_Heading)) #15 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/post.php(298): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules(Object(Elementor\Element_Column), Array, Array, Array, Array) #16 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/post.php(226): Elementor\Core\Files\CSS\Post->render_styles(Object(Elementor\Element_Column)) #17 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/post.php(298): Elementor\Core\Files\CSS\Post->add_controls_stack_style_rules(Object(Elementor\Element_Section), Array, Array, Array, Array) #18 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/post.php(178): Elementor\Core\Files\CSS\Post->render_styles(Object(Elementor\Element_Section)) #19 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/base.php(632): Elementor\Core\Files\CSS\Post->render_css() #20 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/base.php(180): Elementor\Core\Files\CSS\Base->parse_content() #21 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/base.php(131): Elementor\Core\Files\Base->update_file() #22 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/base.php(218): Elementor\Core\Files\CSS\Base->update() #23 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/core/files/css/post.php(201): Elementor\Core\Files\CSS\Base->enqueue() #24 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(93): Elementor\Core\Files\CSS\Post->enqueue() #25 /srv/users/referralrock/apps/referralrock/public/wp-includes/class-wp-hook.php(307): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->enqueue_styles('') #26 /srv/users/referralrock/apps/referralrock/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #27 /srv/users/referralrock/apps/referralrock/public/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #28 /srv/users/referralrock/apps/referralrock/public/wp-includes/script-loader.php(2156): do_action('wp_enqueue_scri...') #29 /srv/users/referralrock/apps/referralrock/public/wp-includes/class-wp-hook.php(307): wp_enqueue_scripts('') #30 /srv/users/referralrock/apps/referralrock/public/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #31 /srv/users/referralrock/apps/referralrock/public/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #32 /srv/users/referralrock/apps/referralrock/public/wp-includes/general-template.php(3042): do_action('wp_head') #33 /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/elementor/modules/page-templates/templates/canvas.php(19): wp_head() #34 /srv/users/referralrock/apps/referralrock/public/wp-includes/template-loader.php(106): include('/srv/users/refe...') #35 /srv/users/referralrock/apps/referralrock/public/wp-blog-header.php(19): require_once('/srv/users/refe...') #36 /srv/users/referralrock/apps/referralrock/public/index.php(17): require('/srv/users/refe...') #37 {main} thrown in /srv/users/referralrock/apps/referralrock/public/wp-content/plugins/mb-elementor-integrator/src/GroupField.php on line 257
There has been a critical error on this website.
Learn more about troubleshooting WordPress.
Hi,
Thanks for more information.
I've escalated this issue to the development team to fix it in the next update.
Ok, thanks. Please let me know if there's a fix.