Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. <pre>WordPress database error: [You have an error in your SQL syntax;

<pre>WordPress database error: [You have an error in your SQL syntax;

Scheduled Pinned Locked Moved Site Bugs / Suggestions
databasehelpphpmysqlsysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Henk1964
    wrote on last edited by
    #1

    Hello, my sytem was working perfect, but now i have this error.

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND user_email = ''' at line 1]
    SELECT * FROM wp_users WHERE ID = AND user_email = ''

    I put all my plugins on and off but it did not help. Please help me!! Regards Henk

    L 1 Reply Last reply
    0
    • H Henk1964

      Hello, my sytem was working perfect, but now i have this error.

      WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND user_email = ''' at line 1]
      SELECT * FROM wp_users WHERE ID = AND user_email = ''

      I put all my plugins on and off but it did not help. Please help me!! Regards Henk

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      This forum is for issues with the CodeProject website, and is the wrong place for your question. Please use https://www.codeproject.com/Questions/ask.aspx[^] for general questions. However, as you can see, you are missing a parameter value after "ID = " in your SQL statement.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups