• Resolved phinn

    (@phinn)


    Checking your debug procedure everything seems fine, returning the 1 result i was expecting from this test. But with yoast 11.6 activated, admin searching on cpt’s show no results. I’ve ran into this on 3 sites so far

    the query
    string(560) "SELECT DISTINCT(relevanssi.doc), relevanssi.*, relevanssi.title * 5 + relevanssi.content * 1 + relevanssi.comment * 0.75 + relevanssi.tag * 1 + relevanssi.link * 0 + relevanssi.author + relevanssi.category * 1 + relevanssi.excerpt + relevanssi.taxonomy + relevanssi.customfield + relevanssi.mysqlcolumn AS tf FROM wp_relevanssi AS relevanssi WHERE relevanssi.term = 'drilling' AND ( relevanssi.doc IN ( SELECT DISTINCT(posts.ID) FROM wp_posts AS posts WHERE posts.post_type IN ('service') ) ) ORDER BY tf DESC LIMIT 500"

    the results
    array(1) { [34]=> float(178.77677498074) }

    returned posts
    array(1) { [0]=> object(stdClass)#2189 (24) { ["ID"]=> string(2) "34" ["post_author"]=> string(1) "1" ["post_date"]=> string(19) "2019-07-16 17:27:39" ["post_date_gmt"]=> string(19) "2019-07-16 17:27:39" ["post_content"]=> string(0) "" ["post_title"]=> string(13) "Well Drilling" ["post_excerpt"]=> string(80) "Lorem ipsum dolor sit amet consectetuer adipiscing elit, sed deiam nonummy nibh," ["post_status"]=> string(7) "publish" ["comment_status"]=> string(6) "closed" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(13) "well-drilling" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2019-07-16 17:28:59" ["post_modified_gmt"]=> string(19) "2019-07-16 17:28:59" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> string(1) "0" ["guid"]=> string(46) "https://buer.local/?post_type=service&p=34" ["menu_order"]=> string(1) "0" ["post_type"]=> string(7) "service" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["relevance_score"]=> float(178.78) } }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    This is a two-year old issue in Yoast SEO. I’ve proposed a fix for this two years ago, but they haven’t implemented it. Disabling “Text link counter” in Yoast settings should fix the problem.

    More pressure on the Yoast issue is welcome, perhaps that’ll motivate them to actually fix this.

    Thread Starter phinn

    (@phinn)

    Thank-you, I haven’t run into this before and didn’t see that thread when searching. Disabling the text link counter worked

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin CPT Search Conflict with Yoast Plugin’ is closed to new replies.