• jomo

    (@jonathanmoorebcsorg)


    spotted this unusual error in the logs.

    Filter appears to have been added for en – there is no en category as such, though en is a language code which is used in taxonomy tables by Polylang. Haven’t been able to reproduce as yet.

    WordPress database error Unknown column ‘en’ in ‘where clause’ for query SELECT tt.term_taxonomy_id
    FROM wp_term_taxonomy AS tt
    LEFT JOIN wp_terms AS t ON (tt.term_id=t.term_id)
    WHERE tt.taxonomy = ‘category’ AND t.term_id IN (en) made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts, apply_filters_ref_array(‘the_posts’), WP_Hook->apply_filters, relevanssi_query, relevanssi_do_query, relevanssi_search, relevanssi_process_query_args, relevanssi_process_tax_query, relevanssi_process_tax_query_row, relevanssi_term_tax_id_from_row

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

    (@msaari)

    That’s a Polylang taxonomy indeed. Relevanssi is looking for a term ID there, which should always be an integer, never a string.

    Are you using the latest version of Relevanssi?

    Thread Starter jomo

    (@jonathanmoorebcsorg)

    yes 4.3.3
    last occurrence was [12-Oct-2019 14:13:31 UTC] and only my test copy of the system which is only really used by spambots and hackbots.
    There’s nothing suspicious in the user search history and search is working normally so I assume it must have been an odd hacking url.. ..if it comes back again I’ll put some debugging code around there to find out what the request context was at the time

    Plugin Author Mikko Saari

    (@msaari)

    Thanks. It’s possible someone is trying to do something unorthodox there. I’d need to see the full set of query variables in order to do meaningful debugging here, so if the problem persists, try to capture that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘unquoted string in taxonomy search’ is closed to new replies.