Forums Forums Search & Filter Pro PHP Warning: urlencode() expects parameter 1 to be string

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #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 1410

    And 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
    Warren

    Trevor
    #269372
    This reply has been marked as private.
    Trevor
    #269374
    This reply has been marked as private.
    Anonymous
    #269380
    This reply has been marked as private.
    Ross Moderator
    #269832
    This reply has been marked as private.
    Anonymous
    #269909
    This reply has been marked as private.
    Ross Moderator
    #270073
    This reply has been marked as private.
    Anonymous
    #276298
    This reply has been marked as private.
Viewing 8 posts - 1 through 8 (of 8 total)