Support » Plugin: WP FullText Search - The Power of Indexed Search » Warning: trim() expects parameter 1 to be string, array given

  • Resolved KTS915

    (@kts915)


    The plugin Query Monitor reports that warning and identifies the problem line as:
    wp-content/plugins/fulltext-search/includes/wpfts_index.php:1409

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

    (@epsiloncool)

    Hi @kts915

    Thank you! This bug will be fixed in the next release.

    If you need to have this fixed immediately, please replace line 1409 in wpfts_index.php by this one

    if (((is_string($t)) && (strlen(trim($t)) < 1)) || ($t == ‘relevance’)) {

    Hope this helps!

    Thread Starter KTS915

    (@kts915)

    Wow! You are fast!

    Thanks, that works perfectly!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: trim() expects parameter 1 to be string, array given’ is closed to new replies.