Title: PHP Error
Last modified: August 20, 2016

---

# PHP Error

 *  Resolved [ljmac](https://wordpress.org/support/users/ljmac/)
 * (@ljmac)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/php-error-34/)
 * Love the functionality of this plug-in, but I’m getting the following PHP error
   in my logs:
 * [20-Feb-2013 01:42:38 UTC] WordPress database error Mixing of GROUP columns (
   MIN(),MAX(),COUNT(),…) with no GROUP columns is illegal if there is no GROUP 
   BY clause for query
    SELECT engine, SUM(data_length + index_length) AS size, 
   table_rows FROM information_schema.TABLES WHERE table_schema = [DB NAME REMOVED]
   AND table_name = ‘wp_comments’
 * I get this error for every table in my database.
 * [http://wordpress.org/extend/plugins/rvg-optimize-database/](http://wordpress.org/extend/plugins/rvg-optimize-database/)

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

 *  Plugin Contributor [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/php-error-34/#post-3486940)
 * Hey ljmac,
 * I fixed the warning (I hope) in version 2.2.5. which I just released.
 * Rolf
 *  Thread Starter [ljmac](https://wordpress.org/support/users/ljmac/)
 * (@ljmac)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/php-error-34/#post-3486973)
 * Hi Rolf,
 * That was quick! I confirm that this is fixed – thanks!
 * Favorited.
 * Lee

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

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/rvg-optimize-database/assets/icon-256x256.png?rev=3350597)
 * [Optimize Database after Deleting Revisions](https://wordpress.org/plugins/rvg-optimize-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rvg-optimize-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rvg-optimize-database/)
 * [Active Topics](https://wordpress.org/support/plugin/rvg-optimize-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rvg-optimize-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rvg-optimize-database/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ljmac](https://wordpress.org/support/users/ljmac/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/php-error-34/#post-3486973)
 * Status: resolved