I just upgraded from WP 2.0 to 2.0.1. When I tried to go back to older posts and edit them, I would get the following error after hitting “Save” or “Save and continue editing”
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 ‘….]
I figured out the problem occurs only with older posts and happens whenever there is an apostrophe (‘) in the text of the post. Any idea how to fix this or what it could be?
My second problem is that at the bottom of the page it says:
Warning: Cannot modify header information – headers already sent by (output started at /home/beautyst/public_html/wp-includes/wp-db.php:102) in /home/beautyst/public_html/wp-admin/post.php on line 122
- The topic ‘Error when editing old posts after updating to 2.0.1’ is closed to new replies.