Home Forums Medical Hub Pro Error template for customize.php

Viewing 0 reply threads
  • Author
    Posts
    • #8675
      Passe POIL
      Participant

      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

Viewing 0 reply threads
  • You must be logged in to reply to this topic.