• levani01

    (@levani01)


    I checked my wordpress error log and saw that it’s filled with this error:

    [14-Mar-2009 01:08:32] 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 ‘AND taxonomy = ‘category” at line 1 for query SELECT * FROM wp_term_taxonomy WHERE term_taxonomy_id = AND taxonomy = ‘category’ made by require, require_once, include, include

    There were more that 1000 like this.

    Does anyone know what it means?

    Thanks

Viewing 1 replies (of 1 total)
  • stvwlf

    (@stvwlf)

    Hi – It means there is a syntax error in a SQL statement somewhere. Its pretty unlikely its in the WP core code as people all over the place would be experiencing this if it were so. This narrows it down to (in order of liklihood)

    1. custom mods that were done to the theme installed on your site
    2. a plugin
    3. your theme’s code

    The bad code refers to WP’s category system. If you have custom code around categories that’s the 1st place to look. If you have category-related plugins that’s the 2nd place to look.

Viewing 1 replies (of 1 total)
  • The topic ‘Mysql error from Error log’ is closed to new replies.