Forums › Forums › Search & Filter Pro › PHP Warning: urlencode() expects parameter 1 to be string
Tagged: woocommerce
- This topic has 7 replies, 4 voices, and was last updated 4 years, 7 months ago by
Anonymous.
Viewing 8 posts - 1 through 8 (of 8 total)
-
Anonymous(Private) December 10, 2020 at 7:43 am #269352
Morning Trevor, me again!
Ken Richman has spotted a PHP warning on the logs, please see below:
[08-Dec-2020 17:01:24 UTC] PHP Warning: urlencode() expects parameter 1 to be string, array given in /home/usedkitchenexcha/public_html/wp-content/plugins/search-filter-pro/public/includes/class-search-filter-query.php on line 1410And here’s that line 1410:
if(!in_array($key, $remove_args)){ $dest_url = add_query_arg($key, urlencode($val), $dest_url); }Is this related to the SSL url thing that Ross looked at or is it something else?
Many thanks
WarrenRoss Moderator(Private) December 15, 2020 at 9:54 am #269832This reply has been marked as private.Ross Moderator(Private) December 16, 2020 at 7:53 pm #270073This reply has been marked as private. -
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)