Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Warning message
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 6 months ago.
- AuthorPosts
- March 29, 2017 at 5:22 pm #12535
I have installed the plugin but I am seeing the following message at the top of the admin screens:
Warning: Invalid argument supplied for foreach() in /nfs/c06/h08/mnt/88756/domains/schellbray.com/html/WP2017/wp-content/plugins/ajax-search-pro/includes/classes/ajax/class-asp-deletecache.php on line 46
Attachments:
You must be logged in to view attached files.March 30, 2017 at 9:03 am #12538Hi!
Thank you very much for the proper details. I’ve looked up the reported lines in the error message, it’s a tiny mistake, happens only under very rare circumstances. You can safely ignore this warning, it will not cause any issues.
If you want me to fix it directly on your server, then feel free to add temporary FTP details to your ticket, and I will do it of course. I will however patch this in the upcoming release as well.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 30, 2017 at 7:19 pm #12544Thanks! I do not have FTP access and since it will not cause issues, I will wait for your next update. However, I am having trouble with Result Ordering. I have followed the instructions in the documentation, but can not get the proper result. I am trying to get attorney profiles (portfolio post type) to appear first in search results, but now matter how I work the Ordering settings, they do not. I have also changed the Priority numbers for all of those posts. For example, from the home page, if you search for Edward Chaney, a blog post appears before his profile page in the results. Are you able to look at this and see where the problem is?
Thank you.
David.March 31, 2017 at 11:24 am #12550Hi!
Everything looks okay on the plugin configuration page, except one thing. The search override was not enabled, thus the plugin only did a redirection to the results page, leaving the original wordpress results. I’ve changed it on the General Options -> Logic & Behavior panel: https://i.imgur.com/nGroNdj.png
Now you should start seeing attorney results on top of the results list, on the results page.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 31, 2017 at 9:59 pm #12554Thank you for your help! The support you provide for your plugin is outstanding.
Thanks.
David.April 2, 2017 at 10:23 am #12558You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.