Viewing 2 replies - 1 through 2 (of 2 total)
  • I just encountered the same issue, however in my case it is also breaking AJAX search as the var_dump() outputs before the JSON:

    JSON response for “bad” search (no results):

    string(282) " AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM XXX_posts AS posts
    			WHERE posts.post_type IN ('post', 'page', 'attachment'))) OR (doc = -1)) AND ((relevanssi.doc IN (SELECT DISTINCT(posts.ID) FROM XXX_posts AS posts
    			WHERE posts.post_status IN ('publish', 'inherit'))))"
    []

    Commenting out/removing line 436 in lib/search.php fixes the issue.
    https://plugins.trac.wordpress.org/browser/relevanssi/trunk/lib/search.php#L436

    Plugin Author Mikko Saari

    (@msaari)

    Thanks, will fix.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘var_dump left in v3.3.3’ is closed to new replies.