Post Word Count Plugin SQL Syntax error?
-
I uploaded and activate the post-count.php plugin.
I added this code:
<?php get_post_count(); ?>
to a page.I get this error on the page at the location where I entered the code above.
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 ‘WHERE post_status = ‘publish’ AND post_date < ‘2005-01-31 01:34]
SELECT COUNT(*) FROM WHERE post_status = ‘publish’ AND post_date < ‘2005-01-31 01:34:23’Is this because I am trying to put the plugin on a separate page from all the posts?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Post Word Count Plugin SQL Syntax error?’ is closed to new replies.