Bonjour,
– Version de WordPress : 2.0.5 fr
– Thème utilisé : Thought.mechanics
– Nom de l’hebergeur : Free
Problème(s) rencontré(s) :
Après avoir mis
<?php
if (is_home()) {
query_posts("cat=1");
}
?>
j’ai ce message :
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 comment_approved = ‘1 » at line 1]
SELECT COUNT(comment_ID) FROM id_comments WHERE comment_post_ID = AND comment_approved = ‘1’;
je dois avouer que ma connaissance en MySQL est limité. Un indice vers où chercher ?