WordPress.org

Support

DB error

  • I save a post – either save and continue or just save – and this appears in the post preview window:
    “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=

    Everything still works fine, and I assume I’ve slipped up somewhere when poking around, but any clues as to which file I need to look in would be cool.
    (I’ve got all the originals, but I’ve not the slightest clue how to run a ‘diff’ on them)

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘DB error’ is closed to new replies.
Skip to toolbar