• Every time I try to post something to my site, none of the categories I select show up in the post. Furthermore, if I try to edit the categories of older posts, I get a wordpress database error. For example:

    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 ‘s really easy once I got the hang of it and I ended up scanning]
    UPDATE wp_posts SET post_content = ‘I bought a slide scanner today and tested out a few slides. It’s really easy once I got the hang of it and I ended up scanning a pile of slides. I quickly dumped out a webpage with all the slides I scanned. Keep in mind that they’re in no particular order and I have lots more to scan. I’ve not even scratched the surface with the amount of slides I plan to scan. Oh – here’s the webpage’, post_excerpt = ”, post_title = ‘Slide Project’, post_status = ‘publish’, comment_status = ‘open’, ping_status = ‘open’, post_author = ‘1’, post_password = ”, post_name = ‘slide-project’, to_ping = ”, post_modified = ‘2005-05-18 07:30:04’, post_modified_gmt = ‘2005-05-18 12:30:04’, menu_order = ‘0’, post_parent = ‘0’ WHERE ID = 136

    Warning: Cannot modify header information – headers already sent by (output started at /home/spinni4/public_html/wp-includes/wp-db.php:98) in /home/spinni4/public_html/wp-admin/post.php on line 381

    Warning: in_array(): Wrong datatype for second argument in /home/spinni4/public_html/wp-admin/post.php on line 404

    Warning: in_array(): Wrong datatype for second argument in /home/spinni4/public_html/wp-admin/post.php on line 404

    Warning: in_array(): Wrong datatype for second argument in /home/spinni4/public_html/wp-admin/post.php on line 404

    Warning: Invalid argument supplied for foreach() in /home/spinni4/public_html/wp-admin/post.php on line 409

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having this same problem. I actually had two categories disappear from the wp_categories table in my database. Also, in my post2cat table, my first five posts now have very long numbers in all three columns of the table — upwards of nine digits — instead of the 1-2 digit numbers they should have. I get the error message described above when I go to edit any of those orginal five posts.
    I’m using an old version of WP, 1.2.1, so perhaps I need to upgrade.

    Thread Starter spinningmud

    (@spinningmud)

    I’m using 1.5.1.3 and still have this issue. No upgrading might not help at all.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘categories broken’ is closed to new replies.