Page 1 of 1

Products Module Search rawurlencode() Problem

Posted: Wed Nov 06, 2013 10:45 am
by davidhans
Hi there

I'm using the products module and its search facility to allow users search by field.

The tag is :{Products action="search" searchfield="origin,use,size,pollination,season,vigour,self-fertile,hardy,juicing,rhs" resultpage="product-detail"}.

If I search for a product based on the fields, and there are no matching products, I get the following warning:

Warning: rawurlencode() expects parameter 1 to be string, array given in /home/***/public_html/lib/classes/module_support/modform.inc.php on line 863

All my modules are up to date and my version of cmsms is up to date (1.11.9).

I did have to make the following amend (http://dev.cmsmadesimple.org/bug/view/6796) to action.do_search.php to get the search facility to include more than one field (otherwise you can only search by one field at a time). Could that be responsible?

Many thanks for your help.

Dave