Title: Plugin returning errors on error log
Last modified: August 21, 2016

---

# Plugin returning errors on error log

 *  [sarett](https://wordpress.org/support/users/sarett/)
 * (@sarett)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-returning-errors-on-error-log/)
 * Want to use this plugin but it’s returning multiple errors on error log:
 *     ```
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr: PHP Warning:  Missing argument 2 for wpdb::prepare(), called in /var/www/vhosts/domain.com/subdomains/domain2/httpdocs/wp-content/plugins/bp-gtm-system/lib/personal.php on line 135 and defined in /var/www/vhosts/domain.com/subdomains/domain2/httpdocs/wp-includes/wp-db.php on line 1147
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr: WordPress errore sul database You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE <code>done</code> = 0
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:                AND <code>id</code> IN (
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:                   SELECT <code>task_id</code>' at line 2 per la query
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:             SELECT COUNT(DISTINCT <code>id</code>) FROM
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:             WHERE <code>done</code> = 0
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:                AND <code>id</code> IN (
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:                   SELECT <code>task_id</code> AS <code>id</code> FROM
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:                   WHERE <code>resp_id</code> = 2) fatta da require('wp-blog-header.php'), wp, WP->main, do_action_ref_array, call_user_func_array, bp_gtm_personal_nav, BP_GTM_Personal::get_count
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr: PHP Warning:  Missing argument 2 for wpdb::prepare(), called in /var/www/vhosts/domain.com/subdomains/domanin2/httpdocs/wp-content/plugins/bp-gtm-system/lib/personal.php on line 136 and defined in /var/www/vhosts/domain.com/subdomains/domain2/httpdocs/wp-includes/wp-db.php on line 1147
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr: WordPress errore sul database You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE <code>done</code> = 0
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:                AND <code>id</code> IN (
       [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:                   SELECT
       ```
   
 * project_’ at line 2 per la query
    [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid:
   stderr: SELECT COUNT(DISTINCT `id`) FROM [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid:
   stderr: WHERE `done` = 0 [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr:
   AND `id` IN ( [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr: SELECT `project_id`
   AS `id` FROM [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr: WHERE `resp_id`
   = 2 [Mon Jun 30 14:29:13 2014] [warn] mod_fcgid: stderr: AND `task_id` = 0 ) 
   fatta da require(‘wp-blog-header.php’), wp, WP->main, do_action_ref_array, call_user_func_array,
   bp_gtm_personal_nav, BP_GTM_Personal::get_count`
 * can you help me?
 * [https://wordpress.org/plugins/bp-gtm-system/](https://wordpress.org/plugins/bp-gtm-system/)

The topic ‘Plugin returning errors on error log’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bp-gtm-system_6c6c6c.svg)
 * [BP GTM System](https://wordpress.org/plugins/bp-gtm-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bp-gtm-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bp-gtm-system/)
 * [Active Topics](https://wordpress.org/support/plugin/bp-gtm-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bp-gtm-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bp-gtm-system/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [sarett](https://wordpress.org/support/users/sarett/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/plugin-returning-errors-on-error-log/)
 * Status: not resolved