Title: Error in wp-db.php
Last modified: February 27, 2018

---

# Error in wp-db.php

 *  [dadaas](https://wordpress.org/support/users/dadaas/)
 * (@dadaas)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-in-wp-db-php/)
 * `PHP message: PHP Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result,
   boolean given in`
 * This is the error i get when database caching is on, once is turned off there
   is no error. I am on Nginx server using php7.
 * Help

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

 *  Thread Starter [dadaas](https://wordpress.org/support/users/dadaas/)
 * (@dadaas)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/error-in-wp-db-php/#post-10024128)
 * Either my server is missing something or something is wrong?
    I have several 
   wordpress installations on the server and some of them give error and some of
   them dont, so what is going on?
 * And I repeat on those that give me error, after turning database caching off 
   error is no longer in error.log of nginx…
 *  Plugin Contributor [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * (@gidomanders)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/error-in-wp-db-php/#post-10481110)
 * Sorry for the late reply, but we have fixed this issue in the upcoming release.
 *  [Vik K](https://wordpress.org/support/users/vkbeall/)
 * (@vkbeall)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-in-wp-db-php/#post-11021224)
 * I’m still have this error even though I have the latest version
 *  Plugin Contributor [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * (@gidomanders)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/error-in-wp-db-php/#post-11021283)
 * [@vkbeall](https://wordpress.org/support/users/vkbeall/) I was talking about 
   the upcoming version. We’re finalizing that version to be released soon.

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

The topic ‘Error in wp-db.php’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/error-in-wp-db-php/#post-11021283)
 * Status: not resolved