Title: SQL errors due to duplicate functions ?
Last modified: August 18, 2016

---

# SQL errors due to duplicate functions ?

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/sql-errors-due-to-duplicate-functions/)
 * Plugins:
    Miniblog: [http://www.tamba2.org.uk/T2/files/miniblog.phps](http://www.tamba2.org.uk/T2/files/miniblog.phps)
   Useronline: [http://www.tamba2.org.uk/T2/files/useronline.phps](http://www.tamba2.org.uk/T2/files/useronline.phps)
   and [http://www.tamba2.org.uk/T2/files/wp-useronline.phps](http://www.tamba2.org.uk/T2/files/wp-useronline.phps)
 * URLs:
    Looks fine: [http://www.tamba2.org.uk/T2/](http://www.tamba2.org.uk/T2/)
 * Check the right column:
    [http://www.tamba2.org.uk/T2/wp-useronline.php](http://www.tamba2.org.uk/T2/wp-useronline.php)
   The error also happens with wp-stats: [http://www.tamba2.org.uk/T2/wp-stats.php](http://www.tamba2.org.uk/T2/wp-stats.php)
 * There is one SQL error per miniblog entry:
    “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 ” at line 1] SELECT post_content
   FROM wp_posts WHERE ID=”
 * GamerZ said it’s a duplicate function but I’ll be damned if I can find such a
   thing unless it’s buried in an odd place.
    If anyone can swivel the Clue Cannon
   in my direction I’d be grateful 🙂

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

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/sql-errors-due-to-duplicate-functions/#post-182345)
 * podz, are you sure we’re looking at the correct plugin sources? Searching through
   all 3 phps files you listed, I don’t see a one that performs a SELECT on post_content.
 * In fact, none of these seem interested in Post ID queries.
 *  Thread Starter [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/sql-errors-due-to-duplicate-functions/#post-182346)
 * The miniblog worked fine until I installed the stats and the usersonline. I looked
   as well and I too was confused.
    I’ll play later and remove / add to see if I
   can track things down a bit more – thanks for looking though 🙂

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

The topic ‘SQL errors due to duplicate functions ?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Mark (podz)](https://wordpress.org/support/users/podz/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/sql-errors-due-to-duplicate-functions/#post-182346)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
