After updating php to version 7.1 I have a problem with the search.
If you make a simple search for example by entering the category and the city in the search bar of the homepage or by clicking on the category and then using the filters available in the box "Advanced Search" choosing for example the city and/or the ads with photos, ect all works perfectly.
Instead if you click on "See all listings" at the end of the list of the listings published in homepage, or if you click on "All Categories" in the box "Refine Category" after selecting the category in the hompage or after making a simple search (for example, category XXX in the city YYY) by the homepage search bar I get the following error / warning:
Warning: Illegal string offset 'pk_i_id' in /home/iack73/adsencounters.com/oc-content/themes/osclasswizards/search-sidebar.php online 23
Warning: Can not assign an empty string to a string offset in /home/iack73/adsencounters.com/oc-content/themes/osclasswizards/search-sidebar.php online 23
These warnings appear on the top before the search results list.
While the following error appears in the "Refine Category" box in the side bar:
Warning: Illegal string offset 'pk_i_id' in /home/iack73/adsencounters.com/oc-content/themes/osclasswizards/search-sidebar.php online 145
I can't understand what the problem is.