Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, int given in /wp-includes/class-wp-query.php:2140
Stack trace:
#0 /wp-includes/class-wp-query.php(2140): array_map()
#1 /wp-includes/class-wp-query.php(3613): WP_Query->get_posts()
#2 /wp-includes/class-wp-query.php(3745): WP_Query->query()
#3 /wp-content/plugins/elementor-pro/modules/query-control/classes/elementor-post-query.php(68): WP_Query->__construct()
#4 /wp-content/plugins/elementor-pro/modules/query-control/module.php(938): ElementorPro\Modules\QueryControl\Classes\Elementor_Post_Query->get_query()
#5 /wp-content/plugins/elementor-pro/modules/posts/widgets/posts.php(60): ElementorPro\Modules\QueryControl\Module->get_query()
#6 /wp-content/plugins/elementor-pro/modules/posts/skins/skin-base.php(846): ElementorPro\Modules\Posts\Widgets\Posts->query_posts()
#7 /wp-content/plugins/elementor/includes/base/skin-base.php(79): ElementorPro\Modules\Posts\Skins\Skin_Base->render()
#8 /wp-content/plugins/elementor/includes/base/widget-base.php(607): Elementor\Skin_Base->render_by_mode()
#9 /wp-content/plugins/elementor/includes/base/widget-base.php(750): Elementor\Widget_Base->render_content()
#10 /wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Widget_Base->print_content()
#11 /wp-content/plugins/elementor/includes/base/element-base.php(801): Elementor\Element_Base->print_element()
#12 /wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content()
#13 /wp-content/plugins/elementor/includes/base/element-base.php(801): Elementor\Element_Base->print_element()
#14 /wp-content/plugins/elementor/includes/base/element-base.php(447): Elementor\Element_Base->print_content()
#15 /wp-content/plugins/elementor/core/base/document.php(1652): Elementor\Element_Base->print_element()
#16 /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(417): Elementor\Core\Base\Document->print_elements()
#17 /wp-content/plugins/elementor/includes/frontend.php(1144): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_elements_with_wrapper()
#18 /wp-content/plugins/elementor/core/base/document.php(1136): Elementor\Frontend->get_builder_content()
#19 /wp-content/plugins/elementor/modules/library/documents/library-document.php(76): Elementor\Core\Base\Document->get_content()
#20 /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(157): Elementor\Modules\Library\Documents\Library_Document->get_content()
#21 /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php(172): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->get_content()
#22 /wp-content/plugins/elementor-pro/modules/theme-builder/documents/single-base.php(93): ElementorPro\Modules\ThemeBuilder\Documents\Theme_Document->print_content()
#23 /wp-content/plugins/elementor-pro/modules/theme-builder/classes/locations-manager.php(315): ElementorPro\Modules\ThemeBuilder\Documents\Single_Base->print_content()
#24 /wp-content/plugins/elementor-pro/modules/theme-builder/api.php(13): ElementorPro\Modules\ThemeBuilder\Classes\Locations_Manager->do_location()
#25 /wp-content/themes/izodom/index.php(23): elementor_theme_do_location()
#26 /wp-includes/template-loader.php(106): include('...')
#27 /wp-blog-header.php(19): require_once('...')
#28 /index.php(17): require('...')
#29 {main}
thrown in
/wp-includes/class-wp-query.php on line
2140