Title: Database Errors
Last modified: August 24, 2016

---

# Database Errors

 *  [urbanj](https://wordpress.org/support/users/urbanj/)
 * (@urbanj)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/database-errors-35/)
 * Hi
 * Great theme but it is causing havoc with our servers. This is the chat log I 
   had with tech support which does not mean much to me. can anyone help please.
   it is theme version 1.2.3
 * Mark L: As per checking by our techs again, your theme is self-hitting which 
   would explain why this query is run so many times.
    Mark L: 33436 hits just today
   from your theme, it is an endless loop that looks like this: Mark L: Mar 29 14:
   18:58 web180 mywebsite.co.uk: /wp-content/themes/point/header.php:41 – fopen 
   connected to tcp://mywebsite.co.uk:80
 * Mark L: Line 36 is part of this if function:
    Mark L: if( is_front_page() || 
   is_home() || is_404() ) { ?> Mark L: <h1 id=”logo” class=”image-logo”> Mark L:
   <?php list($width, $height, $type, $attr) = getimagesize($mts_options[‘mts_logo’]);?
   > Mark L: “><img src=”<?php echo $mts_options[‘mts_logo’]; ?>” alt=”<?php bloginfo(‘
   name’ ); ?>” <?php echo $attr; ?>> Mark L: </h1><!– END #logo –> Mark L: <?php}
   Mark L: It isn’t possible to say with 100% certainty that this doesn’t, but our
   techncians assume that it has something to do with the page logo,
 * I have turned the page logo off for the minute which has improved it a bit but
   we need the logo back

Viewing 1 replies (of 1 total)

 *  Thread Starter [urbanj](https://wordpress.org/support/users/urbanj/)
 * (@urbanj)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/database-errors-35/#post-5963203)
 * Three months no reply 🙁

Viewing 1 replies (of 1 total)

The topic ‘Database Errors’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/point/2.1.1/screenshot.png)
 * Point
 * [Support Threads](https://wordpress.org/support/theme/point/)
 * [Active Topics](https://wordpress.org/support/theme/point/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/point/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/point/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [urbanj](https://wordpress.org/support/users/urbanj/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/database-errors-35/#post-5963203)
 * Status: not resolved