Title: Database error when selecting a term definition
Last modified: September 1, 2016

---

# Database error when selecting a term definition

 *  Resolved [Jos Klever](https://wordpress.org/support/users/josklever/)
 * (@josklever)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-selecting-a-term-definition/)
 * I’ve found a database error in my error_log:
    `[Tue Jul 05 13:50:45.043845 2016][
   proxy_fcgi:error] [pid 8787:tid 139927154878208] [client 84.39.8.16:39976] AH01071:
   Got error 'PHP message: PHP Warning: array_map(): Argument #2 should be an array
   in /home/bijniernet/domains/bijniernet.dev/public_html/wp-includes/query.php 
   on line 2759\nPHP message: PHP Warning: implode(): Invalid arguments passed in/
   home/bijniernet/domains/bijniernet.dev/public_html/wp-includes/query.php on line
   2759\nPHP message: WordPress databasefout You have an error in your SQL syntax;
   check the manual that corresponds to your MariaDB server version for the right
   syntax to use near ') AND wpbnn_posts.post_type = 'glossary' AND ((wpbnn_posts.
   post_status = 'publis' at line 1 bij query SELECT wpbnn_posts.ID FROM wpbnn_posts
   WHERE 1=1 AND wpbnn_posts.ID IN () AND wpbnn_posts.post_type = 'glossary' AND((
   wpbnn_posts.post_status = 'publish')) ORDER BY wpbnn_posts.post_title ASC LIMIT
   0, 25 gemaakt door do_action('wp_ajax_ithoughts_tt_gl_get_tinymce_tooltip_form'),
   ithoughts\\tooltip_glossary\\Admin->getTinyMCETooltipFormAjax, ithoughts\\tooltip_glossary\\
   Backbone->searchTerms, get_posts, WP_Query->query, WP_Query->get_posts\n', referer:
   http://www.bijniernet.dev/wp-admin/post.php?post=2476&action=edit`
 * This is the environment: WP 4.5.3, ITTG 2.5.0, TwentyThirteen theme, no other
   plugins active. Server runs on PHP 7.0.8 and MariaDB 10.0.26.
    WP_DEBUG is true(
   but false gives the same result).
 * Steps for reproduction:
    – Create or edit a page with some simple text. – Select
   a word – Press Add a tooltip button That’s it… it doesn’t matter if the word 
   has an existing glossary term definition or not.
 * I hope you can reproduce this as well and find the cause and solution 🙂
 * [https://wordpress.org/plugins/ithoughts-tooltip-glossary/](https://wordpress.org/plugins/ithoughts-tooltip-glossary/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Gerkin](https://wordpress.org/support/users/gerkin/)
 * (@gerkin)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-selecting-a-term-definition/#post-7545331)
 * Very nice feedback, thank you. Added to the next version
 *  Plugin Author [Gerkin](https://wordpress.org/support/users/gerkin/)
 * (@gerkin)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-selecting-a-term-definition/#post-7545497)
 * Fixed in current in-dev version. Release soon, I am just finishing some small
   pieces of brand new code
 *  Thread Starter [Jos Klever](https://wordpress.org/support/users/josklever/)
 * (@josklever)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-selecting-a-term-definition/#post-7545500)
 * The error seems to be resolved in version 2.6.0, but I’m missing a changelog 
   to determine what (else) has changed.
 *  Plugin Author [Gerkin](https://wordpress.org/support/users/gerkin/)
 * (@gerkin)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-selecting-a-term-definition/#post-7545501)
 * Yes, sorry, the release was a bit tricky, and some steps were skipped… A 2.6.1
   version will be out soon, with a complete changelog for both 2.6.0 & 2.6.1

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Database error when selecting a term definition’ is closed to new replies.

 * ![](https://ps.w.org/ithoughts-tooltip-glossary/assets/icon.svg?rev=1279756)
 * [iThoughts Tooltip Glossary](https://wordpress.org/plugins/ithoughts-tooltip-glossary/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ithoughts-tooltip-glossary/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ithoughts-tooltip-glossary/)
 * [Active Topics](https://wordpress.org/support/plugin/ithoughts-tooltip-glossary/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ithoughts-tooltip-glossary/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ithoughts-tooltip-glossary/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Gerkin](https://wordpress.org/support/users/gerkin/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/database-error-when-selecting-a-term-definition/#post-7545501)
 * Status: resolved