Please note that I have switched themes and deactivated plugins. The critical error still exists and the sidebars still don’t show.
Fatal error: Uncaught TypeError: array_merge(): Argument #3 must be of type array, bool given in /var/www/wp-includes/class-wp-customize-widgets.php:380
Stack trace:
0 /var/www/wp-includes/class-wp-customize-widgets.php(380): array_merge(Array, Array, false)
1 /var/www/wp-includes/class-wp-customize-widgets.php(355): WP_Customize_Widgets->customize_register()
2 /var/www/wp-includes/class-wp-hook.php(324): WP_Customize_Widgets->schedule_customize_register(Object(WP_Customize_Manager))
3 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
4 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
5 /var/www/wp-includes/class-wp-customize-manager.php(942): do_action(‘customize_regis…’, Object(WP_Customize_Manager))
6 /var/www/wp-includes/class-wp-hook.php(324): WP_Customize_Manager->wp_loaded(”)
7 /var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
8 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
9 /var/www/wp-settings.php(665): do_action(‘wp_loaded’)
10 /var/www/wp-config.php(112): require_once(‘/var/www/wp-set…’)
11 /var/www/wp-load.php(50): require_once(‘/var/www/wp-con…’)
12 /var/www/wp-admin/admin.php(34): require_once(‘/var/www/wp-loa…’)
13 /var/www/wp-admin/customize.php(13): require_once(‘/var/www/wp-adm…’)
14 {main} thrown in /var/www/wp-includes/class-wp-customize-widgets.php on line 380
Here’s the segment of code from class-wp-customize-widgets.php:
$sidebars_widgets = array_merge(
array( 'wp_inactive_widgets' => array() ),
array_fill_keys( array_keys( $wp_registered_sidebars ), array() ),
wp_get_sidebars_widgets()
);
]]>Warning: array_merge(): Expected parameter 1 to be an array, null given in?/home/customer/www/retailhealth.global/public_html/wp-content/plugins/elementor/includes/frontend.php?on line?303
class=”elementor-page elementor-page-2586 no-js”>
I had to fix the styling issues, I also updated the site in staging but the classes are still gone. Not sure how to fix it and prevent from happening again.
Thanks.
]]>Config:
WordPress 6.3
PHP 8.2
My sliders were not showing, so I tried to change the option to load the script in footer. I don′t remember wich option I′′ve selected, but since that I get this error when I go to settings, try to edit a slider or create new.
Would you help me? Thanks in advance
]]>I get the following error when using the plugin:
PHP message: PHP Warning: array_merge(): Expected parameter 1 to be an array, string given in /wp-content/plugins/controlled-admin-access/core/migrations/class-migration-200.php on line 57
Corresponding code:
$newUser->setCreatedBy(get_current_user_id());
$mainMenu = get_user_meta($user->ID, ‘caa_main_menu’, true);
$subMenu = get_user_meta($user->ID, ‘caa_sub_menu’, true);
$restricted_items = array_merge($mainMenu, $subMenu);
$newUser->setRestrictedMenu($restricted_items);
Please help me.
Thanks,
Milan
Warning: array_merge(): Expected parameter 2 to be an array, string given in /web/htdocs/www.secondo.it/home/wp-content/plugins/gutentor/includes/dynamic-css.php on line 951
Warning: array_merge(): Argument #2 is not an array in /home/thebspso/public_html/wp-content/plugins/connections/includes/Sitemaps/Sitemaps.php on line 142
Warning: in_array() expects parameter 2 to be array, null given in /home/thebspso/public_html/wp-content/plugins/connections/includes/Sitemaps/Sitemaps.php on line 146
Grateful for your help.
]]>[25-Feb-2020 09:18:56 UTC] PHP Warning: array_merge(): Expected parameter 1 to be an array, null given in /ozam.cc/wp-content/plugins/elementor/includes/base/controls-stack.php on line 1184
[25-Feb-2020 09:23:49 UTC] PHP Warning: Illegal string offset ‘url’ in /www/ozam.cc/wp-content/plugins/elementor/includes/controls/base-multiple.php on line 87
[25-Feb-2020 09:28:39 UTC] PHP Notice: Undefined index: _id in /www/ozam.cc/wp-content/plugins/elementor/core/files/css/base.php on line 724
[25-Feb-2020 09:28:46 UTC] PHP Notice: Array to string conversion in /www/ozam.cc/wp-content/plugins/elementor/core/dynamic-tags/manager.php on line 89
Does anyone have any solutions ?
]]>Tried to install this plugin. It works a bit, bot not completely on my live server.
The issue is that it does not always find the results I find when I run my query directly on Pubmed.
Because of this reason, I tried to install it at a test server at home so I could have a better look at the logfiles etc., but I found some issues:
At the top of the page:
Warning: array_merge(): Expected parameter 2 to be an array, bool given in D:\wamp64\www\wordpress\wp-content\plugins\wpbmb-entrez\includes\wbe-helpers.php on line 248
At the bottom of the page:
Fatal error: Declaration of CMB2_Type_Checkbox::render() must be compatible with CMB2_Type_Text::render($args = Array) in D:\wamp64\www\wordpress\wp-content\plugins\wpbmb-entrez\includes\cmb2\includes\types\CMB2_Type_Checkbox.php on line 0
]]>Warning: array_merge(): Argument #2 is not an array in /home/USERNAME/public_html/wp-includes/load.php on line 66
I recently noticed that one of my pages has this error and all the pages on the homepage have the warning at the top.
Additionally one page does not load and i get these warnings
Warning: Cannot modify header information – headers already sent by (output started at /home/USERNAME/public_html/wp-includes/load.php:66) in /home/USERNAME/public_html/wp-includes/pluggable.php on line 1251
Warning: Cannot modify header information – headers already sent by (output started at /home/USERNAME/public_html/wp-includes/load.php:66) in /home/USERNAME/public_html/wp-includes/pluggable.php on line 1254
using wordpress 5.1.1.
if i go into the admin panel and preview the page i can see the contents which is weird… I found some topics for similar issues with line 63 but not sure if they are related to this. I’m guessing there is something wrong with another file or plugin and not this file itself but not entirely sure.
how can i fix this?
]]>