Customizer not working - PHP Error - Acme Themes

Best Premium and Free WordPress Themes Forums ProlificPro Customizer not working – PHP Error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #105083
    Radek Wagner
    Participant

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.1.1
    Active theme: ProlificPro (version 3.0.3)
    Current plugin: (version )
    PHP version 8.0.26

    Error Details
    =============
    An error of type E_ERROR was caused in line 127 of the file /homepages/6/d69889053/htdocs/dsa/wp-content/themes/prolificpro/acmethemes/sidebar-widget/acme-gallery-filter.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /homepages/6/d69889053/htdocs/dsa/wp-content/themes/prolificpro/acmethemes/sidebar-widget/acme-gallery-filter.php:127
    Stack trace:
    #0 /homepages/6/d69889053/htdocs/dsa/wp-content/themes/prolificpro/acmethemes/sidebar-widget/acme-gallery-filter.php(127): in_array(1, ”)
    #1 /homepages/6/d69889053/htdocs/dsa/wp-includes/class-wp-widget.php(535): Prolific_gallery_filter->form(Array)
    #2 /homepages/6/d69889053/htdocs/dsa/wp-admin/includes/widgets.php(274): WP_Widget->form_callback(Array)
    #3 /homepages/6/d69889053/htdocs/dsa/wp-includes/class-wp-customize-widgets.php(1128): wp_widget_control(Array, Array)
    #4 /homepages/6/d69889053/htdocs/dsa/wp-includes/class-wp-customize-widgets.php(1076): WP_Customize_Widgets->get_widget_control(Array)
    #5 /homepages/6/d69889053/htdocs/dsa/wp-includes/class-wp-customize-widgets.php(714): WP_Customize_Widgets->get_available_widgets()
    #6 /homepages/6/d69889053/htdocs/dsa/wp-includes/class-wp-hook.php(308): WP_Customize_Widgets->enqueue_scripts(”)
    #7 /homepages/6/d69889053/htdocs/dsa/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #8 /homepages/6/d69889053/htdocs/dsa/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #9 /homepages/6/d69889053/htdocs/dsa/wp-admin/customize.php(123): do_action(‘customize_contr…’)
    #10 {main}
    thrown

    #105086
    acmesupports
    Moderator

    Dear Radek,
    Could you please provide a screenshot of the issue or email us about it at [email protected]?

    Best Regards!

    #105104
    Radek Wagner
    Participant

    OK
    I fixed it myself.
    In line 87 of prolificpro/acmethemes/sidebar-widget/acme-gallery-filter.php

    it needs to be
    $prolific_selected_cat = array();

    instead of

    $prolific_selected_cat = ”;

    THX to myself

    #105113
    acmesupports
    Moderator

    Dear Radek,
    Ok, that’s good to know 🙂
    Best Regards!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.