Tagged: 

Viewing 16 reply threads
  • Author
    Posts
    • #3497

      Hi

      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

    • #3498
      Steve
      Keymaster

      @wpkonsulterna– Which version of Piklist are you running?

    • #3499

      Piklist Version 0.9.4.25 and Searchwp Version 2.5.1

    • #3500
      jchristopher
      Member

      Hi 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.

    • #3501
      Steve
      Keymaster

      @jchristopher– Thank you for looking into this. We really appreciate it.

      Post Types registered through the piklist_post_types filter hook into init, and run through the standard register_post_type() function.


      @wpkonsulterna
      – Do you have any custom Piklist code you can send to @jchristopher and me?

    • #3502
      jchristopher
      Member

      Happy 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.

    • #3503

      Hi

      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

    • #3504
      jchristopher
      Member

      Can 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.

    • #3505
      Steve
      Keymaster

      @jchristopher– Nice! Let us know if there is anything we can do to convert you to a fan.


      @wpkonsulterna

      1) Do you have Piklist Demos activated?
      2) Are there any other plugins activated on your site?
      3) What theme are you using?

    • #3506

      1) 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 Fifteen

      Please verify that you also can reproduce the issue.

      /Johan

    • #3507
      jchristopher
      Member

      Sorry 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?

    • #3508

      Hey, 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 nothing

      Hope this is more clear?

      Thanks

    • #3510
      jchristopher
      Member

      Hi 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.

    • #3512
      Steve
      Keymaster

      @jchristopher– Thanks for letting us know about the searchwp_post_statuses hook. 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.

    • #3514

      Hi

      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

    • #3516
      jchristopher
      Member

      Interesting, glad to know it’s working, thank you for following up.

    • #3517
      Steve
      Keymaster

      @wpkonsulterna– Glad everything is working as expected.


      @jchristopher
      – Thanks for the help.

      Closing this ticket.

Viewing 16 reply threads
  • The topic ‘Conflict between piklist and searchwp plugin’ is closed to new replies.