Ivory Search › Forums › Support › PHP error when using Search
- This topic has 3 replies, 2 voices, and was last updated 6 years, 2 months ago by Ivory Search.
You must be logged in to create new topic or reply to the topic. Click To Login
- AuthorPosts
- August 30, 2018 at 1:04 AM #629
Because of the following problem I deleted Ivory Search from my WordPress, then reinstalled. But it still continues.
The first time, when I configured the Search in Menu, the search failed to include categories. So I removed this from the menu, created a page with the Default Search form and configured this form to include all the categories, and then added this to the menu. It seemed to work fine. But then it stopped, gave no results, and showed the following error message in the header:-
Warning: Invalid argument supplied for foreach() in /homepages/16/d750668882/htdocs/clickandbuilds/TheRaskols/wp-content/plugins/add-search-to-menu/public/class-is-public.php on line 851
I have just re-installed, checked that Menu does not include the Search in Menu, and then checked the page: http://www.raskols.com/searchpage. On entering a search term like “Woitape” that should work, it gives this error and indicates there are no search results.
How to resolve?
- August 30, 2018 at 1:12 PM #640
Hi Paul,
Sorry to hear of the problem you are having.
I have tested it on my test site and it’s working fine for me.
Could you please share me the screenshot of plugin settings so that I can troublehsoot it?
Have you created any category terms on your site and added it to any post?
Also please tell me exactly where you are using Ivory Search on your site as currently I don’t see it on your shared site.
Best regards,
Ivory Search Support - August 31, 2018 at 11:09 PM #671
Sorry to say I deleted the plugin after finding another that did not cause this issue. Yes, categories were created and we changed the name to “Locations”. This dropdown is in the main menu.
- August 31, 2018 at 11:35 PM #672
Ok then in the future if you use the plugin again then please make sure you are using latest version of Ivory Search plugin https://wordpress.org/plugins/add-search-to-menu/
And we are alays here to help you if you face any problem.
Have a fantastic day!
- AuthorPosts
You must be logged in to create new topic or reply to the topic. Click To Login