Forums › Forums › Search & Filter Pro › PHP Errors and not recognizing WPML languages
- This topic has 10 replies, 2 voices, and was last updated 10 years, 4 months ago by
Ross.
-
Anonymous(Private) September 29, 2015 at 5:29 am #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(Private) September 29, 2015 at 9:35 am #26142Hey Chad, a link and login details would be most handy.
Thanks
Ross Moderator(Private) September 30, 2015 at 2:11 pm #26236Thanks Chad
I have another user with a similar issue so working towards a possible solution.
Will keep you updated when I know more.
Thanks
Ross Moderator(Private) October 5, 2015 at 9:22 am #26489Just sent to you now – the fix should be ready tomorrow anyway.
Thanks
Anonymous(Private) October 14, 2015 at 4:07 pm #27320Hi 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(Private) October 15, 2015 at 11:15 am #27370Hi Chad
Is this with hierarchical taxonomies? I’m looking to push a fix today.
Thanks
-
AuthorPosts