WordPress.org

Ready to get started?Download WordPress

Forums

SQL syntax error (5 posts)

  1. NaeTec
    Member
    Posted 3 years ago #

    Will someone help me with this...

    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 theme_template,redirect FROM cve_md_mobilemeta WHERE mobile_id=

    How can I fix it?

  2. s_ha_dum
    Member
    Posted 3 years ago #

    Something is wrong with a plugin. I can't tell exactly what but it looks like its missing the mobile_id value so the query is cut short. I'm guessing you have a plugin that generates mobile-device friendly pages? Disable that and the problem should go away. Actually fixing it will be more work.

  3. Michael Bishop

    Posted 3 years ago #

    More specifically, what plugin are you using for the mobile?

  4. NaeTec
    Member
    Posted 3 years ago #

    I don't recall the name of the plugin and I can't get anywhere to check. The admin pages, at least, only shows the error message. Is there a backdoor to delete a plugin?

  5. s_ha_dum
    Member
    Posted 3 years ago #

    Is there a backdoor to delete a plugin?

    Yes. FTP. Login to your hosting account using an FTP client (like FileZilla) and delete the plugin's folder from wp-content/plugins/.

Topic Closed

This topic has been closed to new replies.

About this Topic