WordPress.org

Forums

MYSQL ERROR that i cant find (5 posts)

  1. petter.ruud
    Member
    Posted 1 year ago #

    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

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Are you running a multisite?

  3. petter.ruud
    Member
    Posted 1 year ago #

    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

  4. esmi
    Forum Moderator
    Posted 1 year ago #

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

  5. petter.ruud
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic