Tagged: Searchwp
- This topic has 16 replies, 3 voices, and was last updated 6 years, 10 months ago by
Steve.
-
AuthorPosts
-
-
March 25, 2015 at 3:39 pm #3497
wpkonsulternaMemberHi
I have come across that there seems to be some kind of conflict between searchwp and piklist. When I have both installed and activated the indexing done by searchwp freezes at 0%.
Any idea of how this could be resolved? It’s two very good plugins I want to use.
Thanks
Johan
-
March 25, 2015 at 3:41 pm #3498
SteveKeymaster@wpkonsulterna– Which version of Piklist are you running?
-
March 25, 2015 at 3:42 pm #3499
wpkonsulternaMemberPiklist Version 0.9.4.25 and Searchwp Version 2.5.1
-
March 25, 2015 at 3:51 pm #3500
jchristopherMemberHi guys, I’m the developer of SearchWP and wanted to follow up with my research to-date. I haven’t used Piklist before but as a test I installed it and installed the demo that ships with it. Integration with SearchWP worked as expected once I was able to Publish the demo post, by default it was using some custom post statuses (which is awesome!) but SearchWP only indexes published content by default.
I think the next best step would be to find out how I can configure my install of Piklist to mimic one that exhibits problems. What I’m thinking is that it has something to do with how SearchWP checks for registered post types and how they get registered with Piklist. Usually in cases like this it’s been a race condition where a post type is registered after SearchWP checks for registered post types.
-
March 25, 2015 at 4:04 pm #3501
SteveKeymaster@jchristopher– Thank you for looking into this. We really appreciate it.
Post Types registered through the
piklist_post_typesfilter hook intoinit, and run through the standardregister_post_type()function.
@wpkonsulterna– Do you have any custom Piklist code you can send to @jchristopher and me? -
March 25, 2015 at 4:05 pm #3502
jchristopherMemberHappy to do it! I’ve been dying to check out Piklist for a long time. I can dig in on my own definitely but yes some sample code would be awesome.
-
March 25, 2015 at 4:06 pm #3503
wpkonsulternaMemberHi
I’ve actually been able to get this issue just by having the two plugins installed and active on a clean single wp install. So no custom code at all.
/Johan
-
March 25, 2015 at 4:08 pm #3504
jchristopherMemberCan you elaborate on the set up you’re using to test? For example I only activated Piklist and activated it’s demo content — did you take any additional steps? Please note that I’m totally new to Piklist so your exact steps to set up your test would be super useful.
-
March 25, 2015 at 4:09 pm #3505
SteveKeymaster@jchristopher– Nice! Let us know if there is anything we can do to convert you to a fan.
1) Do you have Piklist Demos activated?
2) Are there any other plugins activated on your site?
3) What theme are you using? -
March 25, 2015 at 5:01 pm #3506
wpkonsulternaMember1) Do you have Piklist Demos activated?
– No
2) Are there any other plugins activated on your site?
– No
3) What theme are you using?
– Twenty FifteenPlease verify that you also can reproduce the issue.
/Johan
-
March 25, 2015 at 7:37 pm #3507
jchristopherMemberSorry to extend this further but I’m a bit confused. Based on your description it sounds like you can see an issue with a fresh WordPress install and just SearchWP and Piklist activated? What test search(es) did you try, was it for the ‘Hello World’ sample Post or the ‘Sample Page’ Page? Which specific searches did you try?
-
March 26, 2015 at 3:14 am #3508
wpkonsulternaMemberHey, sorry. I was actually getting that same freeze “0% indexed” just by having both of them installed and activated, but then when I refresh that index message is actually gone. However I installed the diagnostic extension to better troubleshoot and it is correct that eg. the “Hello world” post have indexed terms.
So here are the steps that should make it possible to reproduce the issue:
1. Activate the demo add-on for Piklist
2. Include the post type “Piklist demo” in the Default Search Engine in SearchWP
3. Create a first post in the post type “Piklist demo”, maybe just with a title
4. Try indexing in searchwp
5. Using the diagnostic to retrieve terms for the post you just created returned nothingHope this is more clear?
Thanks
-
March 26, 2015 at 8:14 am #3510
jchristopherMemberHi there, I mentioned in an earlier post that the Piklist Demo content uses custom Post Statuses, but SearchWP only indexes published content by default. You can use this hook to change that https://searchwp.com/docs/hooks/searchwp_post_statuses/ but I have illustrated how the Piklist Demo content is indexed by SearchWP in this screencast following the steps you’ve outlined: http://d.pr/v/17uCU
Everything I’ve tried with Piklist works as it should out of the box once the (potential) custom Post Status is taken into consideration. If there is another reproducible case of an incompatibility I can check into it further but everything looks good on my end.
-
March 26, 2015 at 3:58 pm #3512
SteveKeymaster@jchristopher– Thanks for letting us know about the
searchwp_post_statuseshook. Glad to know that Piklist will work with searchwp. We’ve made sure to do EVERYTHING the WordPress way in Piklist.
@wpkonsulterna– Let us know if you need any more help. -
March 26, 2015 at 5:23 pm #3514
wpkonsulternaMemberHi
I actually don’t know what has changed, maybe something in the latest update of searchwp but now it works on my multisite install with my custom piklist plugin as expected.
Sorry for the trouble but appreciate you helping out.
/Johan
-
March 27, 2015 at 7:53 am #3516
jchristopherMemberInteresting, glad to know it’s working, thank you for following up.
-
March 27, 2015 at 10:39 am #3517
SteveKeymaster@wpkonsulterna– Glad everything is working as expected.
@jchristopher– Thanks for the help.Closing this ticket.
-
-
AuthorPosts
- The topic ‘Conflict between piklist and searchwp plugin’ is closed to new replies.