You have an error in your SQL syntax; check the manual…
-
All of a sudden my website displays the error message below when loged in users views posts. The error message doestn′t show when loged out.
—
WordPress databasfel f?r 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 'p WHERE p.post_date < '2009-10-16 13:45:03' AND p.post_type = 'post' AND p. (wp' at line 1 f?rfr?gan SELECT p.* FROM (wp_posts LEFT JOIN wp_postmeta as pl_wp_postmeta ON (wp_posts.ID = pl_wp_postmeta.post_id)) AS p WHERE p.post_date < '2009-10-16 13:45:03' AND p.post_type = 'post' AND p. (wp_posts.post_status = 'publish' OR (wp_posts.post_status = 'private' AND (pl_wp_postmeta.meta_key = 'post_level' AND pl_wp_postmeta.meta_value <= 2 ))) ORDER BY p.post_date DESC LIMIT 1 skapat av require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, adjacent_posts_rel_link, get_adjacent_post_rel_link, get_adjacent_post WordPress databasfel f?r 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 'p WHERE p.post_date > '2009-10-16 13:45:03' AND p.post_type = 'post' AND p. (wp' at line 1 f?rfr?gan SELECT p.* FROM (wp_posts LEFT JOIN wp_postmeta as pl_wp_postmeta ON (wp_posts.ID = pl_wp_postmeta.post_id)) AS p WHERE p.post_date > '2009-10-16 13:45:03' AND p.post_type = 'post' AND p. (wp_posts.post_status = 'publish' OR (wp_posts.post_status = 'private' AND (pl_wp_postmeta.meta_key = 'post_level' AND pl_wp_postmeta.meta_value <= 2 ))) ORDER BY p.post_date ASC LIMIT 1 skapat av require, require_once, include, get_header, locate_template, load_template, require_once, wp_head, do_action, call_user_func_array, adjacent_posts_rel_link, get_adjacent_post_rel_link, get_adjacent_post
—
Anybody with knowledge hwo can help me out with this?
- The topic ‘You have an error in your SQL syntax; check the manual…’ is closed to new replies.