Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Warning message
- This topic has 5 replies, 2 voices, and was last updated 9 years, 2 months ago by
Ernest Marcinko.
-
AuthorPosts
-
March 29, 2017 at 5:22 pm #12535
shiftdev
ParticipantI 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
March 30, 2017 at 9:03 am #12538Ernest Marcinko
KeymasterHi!
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.
March 30, 2017 at 7:19 pm #12544shiftdev
ParticipantThanks! 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 #12550Ernest Marcinko
KeymasterHi!
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: http://i.imgur.com/nGroNdj.png
Now you should start seeing attorney results on top of the results list, on the results page.
March 31, 2017 at 9:59 pm #12554shiftdev
ParticipantThank you for your help! The support you provide for your plugin is outstanding.
Thanks.
David.April 2, 2017 at 10:23 am #12558Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.