Error when using link to next and previous posts
-
When I use this snippet in my code:
<?php posts_nav_link(‘ — ‘, __(‘« Previous Page’), __(‘Next Page
»’)); ?>I get this error 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 ” at line 1]
SELECT COUNT(DISTINCT ID) FROMI have tried to deactivate my plugins and all of that, the only thing that makes this error go away seems to be deleting the snippet. But I want to have a link to previous posts so that is not a solution for me.
Before I upgraded to wp 2.0.1 all was fine, this problem came after the upgrading
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Error when using link to next and previous posts’ is closed to new replies.