• Dear Forum,

    I always get following error message on the server:

    [Sun Jul 27 04:03:36 2014] [warn] [client 128.10.10.47] mod_fcgid: stderr: WordPress database error 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 ‘) AND rul_type=’role’ AND rul_url_logout != ” ORDER BY rul_order DESC LIMIT 1′ at line 1 for query SELECT rul_url_logout FROM blog_wpc_client_login_redirects WHERE rul_value IN() AND rul_type=’role’ AND rul_url_logout != ” ORDER BY rul_order DESC LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘/datas/vhosts/mydomain.com/wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, ITSEC_Lockout->check_lockout, ITSEC_Lockout->execute_lock, wp_logout, do_action(‘wp_logout’), call_user_func_array, WPC_Client_Common->cc_logout_redirect_rules, eval

    Any idea how to solve that?

Viewing 1 replies (of 1 total)
  • Looks like a plugin with something to do with “ITSEC_Lockout”, is doing a query with an enpty set (where it says “WHERE rul_value IN() AND”), the IN() is supposed to be a list of values, a set, here oit is empty.

    Presumably you are using a security or login lockout plugin, how is it configured ? Does it need updating ? Does this error go away if you disable this plugin ?

    Either get an update, or choose another plugin to do this task.

Viewing 1 replies (of 1 total)
  • The topic ‘mod_fcgid: stderr: WordPress database error You have an error in your SQL syntax’ is closed to new replies.