Title: Error In log File
Last modified: January 13, 2020

---

# Error In log File

 *  Resolved [redhat](https://wordpress.org/support/users/redhat/)
 * (@redhat)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-in-log-file-3/)
 * i Can see this error almost 7 in my log file Need Help
 * WordPress database error Lost connection to MySQL server during query for query
   SELECT option_value FROM xyz_options WHERE option_name = ‘woocommerce_thumbnail_cropping’
   LIMIT 1 made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘
   wp-settings.php’), do_action(‘after_setup_theme’), WP_Hook->do_action, WP_Hook-
   >apply_filters, woodmart_add_image_size, wc_get_image_size, get_option, W3TC\
   DbCache_WpdbNew->query, W3TC\DbCache_WpdbInjection_QueryCaching->query, W3TC\
   _CallUnderlying->query, W3TC\DbCache_WpdbNew->query, W3TC\DbCache_WpdbInjection-
   >query, W3TC\DbCache_WpdbNew->default_query

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/error-in-log-file-3/#post-12319134)
 * Hello [@redhat](https://wordpress.org/support/users/redhat/)
 * I am sorry about the issue you are experiencing and I am happy to assist you 
   with this. Are you on a shared server or VPS? Are you using both DB cache and
   Object Cache? When did this issue start to occur? have you made any changes?
   
   Thank you!
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/error-in-log-file-3/#post-12343789)
 * No activity for a week. Marking issue as resolved!
 *  Thread Starter [redhat](https://wordpress.org/support/users/redhat/)
 * (@redhat)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-in-log-file-3/#post-12548416)
 * Hey [@vmarko](https://wordpress.org/support/users/vmarko/)
 * Really Sorry For the late reply as i was out on vacation.
 * yes i am using shared server,
 * Are you using both DB cache and Object Cache? – no i am just using db cache
 * When did this issue start to occur? Since i have installed the plugin.
 * have you made any changes? – No
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-in-log-file-3/#post-12560376)
 * Hello [@redhat](https://wordpress.org/support/users/redhat/)
 * WordPress website utilizes database quite a lot. And database caching allows 
   to decrease database usage. Database caching allows to cache database request
   results.
    Database caching can make your site faster if the time needed to get
   data from the database is more than the time needed to get data from the cache.
   So, if you are on a shared hosting, then RAM-based caching is likely to be unavailable
   for you. And disk-based caching is not that efficient. In other words, if you
   are on a shared hosting, it’s recommended not to use database caching. Moreover,
   using disk-database caching (on a shared hosting) can make your site slower. 
   This is so because getting data from the database can be faster than getting 
   cached data from the disk. You should try using Object Caching instead. Object
   Cache allows getting data from the database more efficiently. Its purpose is 
   similar to what Database Cache does. But compared to Database Cache, Object cache
   is more efficient as it allows to process fewer requests.
 * As a rule of thumb, Object Cache is not worth using on shared hosting for the
   same reason as Database Cache, i.e. database is often not the performance bottleneck,
   but disk input-output operations.
    Thank you!

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

The topic ‘Error In log File’ 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
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/error-in-log-file-3/#post-12560376)
 * Status: resolved