WP DB Error
-
On a server running nginx, php-fpm(5.6.18) logged the following error on a fresh wp(4.4.2) install. The error is raised whenever we try to access the reports page. The plugin appears to work fine though. Please note that php is in strict mode and no other errors have been logged. Great plugin, thanx.
2016/02/22 10:27:02 [error] 1997#1997: *158048 FastCGI sent in stderr: “PHP message: 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 ‘-10, 10’ at line 1 for query SELECT COUNT(1) AS Attempts, ClientIp FROM wp_gdbc_attempts WHERE SiteId = 1 GROUP BY ClientIp ORDER BY Attempts DESC LIMIT -10, 10 made by do_action(‘wp_ajax_retrieveAttemptsPerClientIp’), call_user_func_array, GdbcReportsAdminModule->retrieveAttemptsPerClientIp, GdbcDbAccessController::getAttemptsByClientIp, GdbcDbAccessController::executePreparedQuery” while reading response header from upstream, client: 124.195.222.239, server: ***, request: “POST /wp-admin/admin-ajax.php?lang=dv HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “***”, referrer: “https://****/wp-admin/admin.php?page=wp-bruiser-reports”
- The topic ‘WP DB Error’ is closed to new replies.