Support » Fixing WordPress » MYSQL ERROR that i cant find

  • 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 ‘WHERE public = 1 AND deleted = 0 AND archived = ‘0’ ORDER BY domain, path’ at line 1 for query SELECT blog_id, domain, path FROM WHERE public = 1 AND deleted = 0 AND archived = ‘0’ ORDER BY domain, path done by crontab_get_blogs

    I dont know where to look, tried deactivating all the plugins and removed all the custom parts of my loop.

    Any kind of help would be appreicated

    – Petter

Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you running a multisite?

    Thread Starter petter.ruud

    (@petterruud)

    No, im not running a MultiSite. Only file I could find something similiar to the query is
    wp-includes/ms-blogs.php, but as I have MS turned off it cant be anything with that file, or?

    Have a few plugins installed though
    WordPress SEO
    NextGEN Gallery by Photocrati
    Disqus Comment System
    Advanced Custom Fields

    Can you replicate the problem using the default Twenty Thirteen theme with all plugins deactivated?

    Thread Starter petter.ruud

    (@petterruud)

    Just did a clean install (deleted tables from DB and reuploaded the WP files), still the same problem. So no plugins and TwentyThirteen theme.

    Its driving me mad.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MYSQL ERROR that i cant find’ is closed to new replies.