WordPress database error
-
I just made my first post with WP 1.52 and got this error code:
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 posts.post_parent = 0’ at line 7]
SELECT posts.* FROM wp_posts as posts WHERE posts.post_status = ‘static’ AND posts.post_name IN ( ) AND posts.post_parent = 0WordPress 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 categories.category_parent = 0 AND posts.post_status = ‘publish” at line 12]
SELECT categories.* FROM wp_categories as categories INNER JOIN wp_post2cat as post2cat ON post2cat.category_id = categories.cat_ID INNER JOIN wp_posts as posts ON posts.ID = post2cat.post_id WHERE categories.category_nicename IN ( ) AND categories.category_parent = 0 AND posts.post_status = ‘publish’ AND posts.post_date_gmt <= ‘2005-11-26 12:46:00’Warning: Cannot modify header information – headers already sent by (output started at /home/phil/public_html/wp/wp-includes/wp-db.php:98) in /home/phil/public_html/wp/wp-admin/admin.php on line 10
Warning: Cannot modify header information – headers already sent by (output started at /home/phil/public_html/wp/wp-includes/wp-db.php:98) in /home/phil/public_html/wp/wp-admin/admin.php on line 11
Warning: Cannot modify header information – headers already sent by (output started at /home/phil/public_html/wp/wp-includes/wp-db.php:98) in /home/phil/public_html/wp/wp-admin/admin.php on line 12
Warning: Cannot modify header information – headers already sent by (output started at /home/phil/public_html/wp/wp-includes/wp-db.php:98) in /home/phil/public_html/wp/wp-admin/admin.php on line 13
I’m not a php guy, don’t know what it means. The blog is located at https://www.paross.com/wp.
Phil
- The topic ‘WordPress database error’ is closed to new replies.