error customize.php Archives - Ample Themes https://www.amplethemes.com Best Premium and Free Responsive WordPress Themes Mon, 06 Mar 2023 13:03:56 +0000 en-US hourly 1 https://www.amplethemes.com/wp-content/uploads/2017/09/cropped-logo3-32x32.png error customize.php Archives - Ample Themes https://www.amplethemes.com 32 32 139019380 Error template for customize.php https://www.amplethemes.com/supports/topic/error-template-for-customize-php/ Mon, 06 Mar 2023 13:03:56 +0000 https://www.amplethemes.com/supports/topic/error-template-for-customize-php/ Hi, How to fix this error in Medical Hub Pro theme? Une erreur de type E_ERROR a été causée dans la ligne 252 du fichier /home/luminothxe/www/wp-content/themes/medical-hub-pro/inc/ample-themes/widgets/gallery.php. Message d’erreur : Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/luminothxe/www/wp-content/themes/medical-hub-pro/inc/ample-themes/widgets/gallery.php:252 Stack trace: #0 /home/luminothxe/www/wp-content/themes/medical-hub-pro/inc/ample-themes/widgets/gallery.php(252): in_array(397, ”) #1 /home/luminothxe/www/wp-includes/class-wp-widget.php(535): Medical_Hub_Gallery_Widget->form(Array) #2 /home/luminothxe/www/wp-admin/includes/widgets.php(274): […]

The post Error template for customize.php appeared first on Ample Themes.

]]>
Hi,

How to fix this error in Medical Hub Pro theme?

Une erreur de type E_ERROR a été causée dans la ligne 252 du fichier /home/luminothxe/www/wp-content/themes/medical-hub-pro/inc/ample-themes/widgets/gallery.php. Message d’erreur : Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /home/luminothxe/www/wp-content/themes/medical-hub-pro/inc/ample-themes/widgets/gallery.php:252
Stack trace:
#0 /home/luminothxe/www/wp-content/themes/medical-hub-pro/inc/ample-themes/widgets/gallery.php(252): in_array(397, ”)
#1 /home/luminothxe/www/wp-includes/class-wp-widget.php(535): Medical_Hub_Gallery_Widget->form(Array)
#2 /home/luminothxe/www/wp-admin/includes/widgets.php(274): WP_Widget->form_callback(Array)
#3 /home/luminothxe/www/wp-includes/class-wp-customize-widgets.php(1128): wp_widget_control(Array, Array)
#4 /home/luminothxe/www/wp-includes/class-wp-customize-widgets.php(1076): WP_Customize_Widgets->get_widget_control(Array)
#5 /home/luminothxe/www/wp-includes/class-wp-customize-widgets.php(714): WP_Customize_Widgets->get_available_widgets()
#6 /home/luminothxe/www/wp-includes/class-wp-hook.php(308): WP_Customize_Widgets->enqueue_scripts(”)
#7 /home/luminothxe/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#8 /home/luminothxe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /home/luminothxe/www/wp-admin/customize.php(123): do_action(‘customize_contr…’)
#10 {main}
thrown

Thanks

The post Error template for customize.php appeared first on Ample Themes.

]]>
8675