• Resolved kevinb623

    (@kevinb623)


    When searching the directory, I see:

    WordPress database error: [The used table type doesn't support FULLTEXT indexes]
    SELECT wp_connections.id, MATCH (family_name, first_name, middle_name, last_name, title, organization, department, contact_first_name, contact_last_name, bio, notes) AGAINST ('+test') AS score FROM wp_connections WHERE MATCH (family_name, first_name, middle_name, last_name, title, organization, department, contact_first_name, contact_last_name, bio, notes) AGAINST ('+test' IN BOOLEAN MODE) ORDER BY score
    
    WordPress database error: [The used table type doesn't support FULLTEXT indexes]
    SELECT wp_connections_address.entry_id, MATCH (line_1, line_2, line_3, city, state, zipcode, country) AGAINST ('+test') AS score FROM wp_connections_address WHERE MATCH (line_1, line_2, line_3, city, state, zipcode, country) AGAINST ('+test' IN BOOLEAN MODE) ORDER BY score
    
    WordPress database error: [The used table type doesn't support FULLTEXT indexes]
    SELECT wp_connections_phone.entry_id, MATCH (number) AGAINST ('+test') AS score FROM wp_connections_phone WHERE MATCH (number) AGAINST ('+test' IN BOOLEAN MODE) ORDER BY score

    This is followed by three identical notices:

    Notice: like_escape is deprecated since version 4.0! Use wpdb::esc_like() instead. in /var/www/html/wp-includes/functions.php on line 3406`

    https://www.ads-software.com/plugins/connections/

Viewing 1 replies (of 1 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @ kevinb623

    First, you should setup your site to suppress all PHP notices on production sites. This is a best practice. See this post for more info on how to do this:

    https://aristeides.com/blog/wp-hide-php-errors/

    As for the db notices you are seeing. On install Connections should detect this and use the correct table types. For some reason this did not happen for you. Unless this is an older installation of Connections because older versions did not do this check.

    To suppress the db notices, go to the Connections : Settings admin page, click the Search tab and disable the FULLTEXT search option.

    As for the like_escape notices. They are on my short list to remove now that Connections requires WP 4.1 and newer. They are harmless and they are only for devs. This is to let us know we need to plan on to remove their usage. These notices will go away when you disable the PHP notices as explained in the blog post.

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Searching displays a DB error and a WP Notice’ is closed to new replies.