Forums Forums Search & Filter Pro PHP Errors and not recognizing WPML languages

Viewing 10 posts - 1 through 10 (of 11 total)
  • Anonymous
    #26137

    Hi,

    I have a search form on an english/french site that seems to not like the update. Obove the form are a few PHP errors like Warning: array_merge() and Warning: array_unique() which point to line 710 of /public/includes/class-search-filter-cache.php. If I comment this line out the errors are gone.

    In addition, the form is not adding /en and /fr to the results page and so is not returning results. I am not using ajax or a custom URL. I am using a template to display results.

    This set up was running smoothly prior to the update.

    It is a development site, but I can share a link and password privately if you need.

    Ross Moderator
    #26142

    Hey Chad, a link and login details would be most handy.

    Thanks

    Anonymous
    #26158
    This reply has been marked as private.
    Ross Moderator
    #26236

    Thanks Chad

    I have another user with a similar issue so working towards a possible solution.

    Will keep you updated when I know more.

    Thanks

    Anonymous
    #26475

    Hi Ross,

    In the meantime, is there somewhere where I can download a previous version of the plugin?

    Ross Moderator
    #26489

    Just sent to you now – the fix should be ready tomorrow anyway.

    Thanks

    Anonymous
    #26540

    Thanks for both Ross!

    Anonymous
    #27320

    Hi again,

    I just updated to 2.01 and the search forms now work, but I am still getting the following PHP errors everywhere that the search form exists:

    Warning: array_merge(): Argument #1 is not an array in /home/cmohr/webapps/cwghr/wp-content/plugins/search-filter-pro/public/includes/class-search-filter-cache.php on line 710

    Warning: array_unique() expects parameter 1 to be array, null given in /home/cmohr/webapps/cwghr/wp-content/plugins/search-filter-pro/public/includes/class-search-filter-cache.php on line 710

    Warning: array_merge(): Argument #1 is not an array in /home/cmohr/webapps/cwghr/wp-content/plugins/search-filter-pro/public/includes/class-search-filter-cache.php on line 710

    Warning: array_unique() expects parameter 1 to be array, null given in /home/cmohr/webapps/cwghr/wp-content/plugins/search-filter-pro/public/includes/class-search-filter-cache.php on line 710

    Warning: array_merge(): Argument #1 is not an array in /home/cmohr/webapps/cwghr/wp-content/plugins/search-filter-pro/public/includes/class-search-filter-cache.php on line 710

    Warning: array_unique() expects parameter 1 to be array, null given in /home/cmohr/webapps/cwghr/wp-content/plugins/search-filter-pro/public/includes/class-search-filter-cache.php on line 710

    Ross Moderator
    #27370

    Hi Chad

    Is this with hierarchical taxonomies? I’m looking to push a fix today.

    Thanks

    Anonymous
    #27523

    Yes it is. Thanks.

Viewing 10 posts - 1 through 10 (of 11 total)