Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Error when creating index
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 8 years ago.
- AuthorPosts
- November 5, 2015 at 11:11 pm #6555
First of all, contact me by email to access the Website. It is not LIVE yet and you will need to tweak your hostfile.
We are having problem getting the Ajax search pro work properly and search in all sites on a multisite Network configuration. How can we set the search results page ? We also get this error while trying to create new index :
–
<br />
<b>Fatal error</b>: Cannot use object of type WP_Error as array in <b>wp-content/plugins/ajax-search-pro/includes/etc/indextable.class.php</b> on line <b>680</b><br />
–Thanks in advance for you support.
Attachments:
You must be logged in to view attached files.November 6, 2015 at 10:29 am #6557Hi!
This was a known issue with Multisite and WPML in previous versions. Please download the latest version from Codecanyon (currently 4.5.5) and install it safely by following the safe update instructions: https://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/update_notes.html
The index should build up afterwards without any error messages.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 6, 2015 at 3:53 pm #6560Thank you,
I download version 4.5.5 and build my index. Now, when I click on ‘More Results’, how can I choose the search results page !?
Right now, a search result page of one of my sites is selected and only results for that site are showing. Is there a way to set a results page showing results for all sites in my network base on my search query when I click on ‘More results’ ?
regards,
November 6, 2015 at 4:02 pm #6561Hi!
There is no way to “choose” your search page. It’s a theme feature, whereas the search.php file in your theme directory displays the results. You can change the url, if the default search redirect to a different location on the Layout Options -> Results Layout panel the Show more results URL option: https://i.imgur.com/SKJXbTo.png
There is an option to override the results, but it might not work with multiste. (it’s hard to get cross-site posts correctly as they can have matching IDs per site) On the General Options -> Behavior panel, the Override the default WordPress search results page? option: https://i.imgur.com/L8sPa4N.png
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.