Related Posts plugin for WordPress

ADVERTISEMENTS

I just installed a plugin for WordPress that displays the related entries to a post. Unfortunately, I got the following 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 ID, post_title, post_content,MATCH (post_name, post_content)
AGAINST (’wordpress skins’) AS score FROM wp_posts WHERE MATCH
(post_name, post_content) AGAINST (’wordpress skins’) AND post_date < =
‘2006-02-19 08:27:18′ AND (post_status IN ( ‘publish’, ’static’ ) && ID
!= ‘96′) AND post_password =” ORDER BY score DESC LIMIT

I have reported about this error to the author of the plugin and hopefuly correct it soon.

I have put the link to the plugin’s page, incase you want to try it.

Update: I have fixed the error. Actually the error was because I had left the number of posts to show field in the options page empty.

Download WordPress Related Entries 2.0

banner

Search JohnTP.com or view a random post

Related Articles

To receive this blogs articles for FREE on your email inbox, just enter your email address below and click 'Go':

Enter your email address: or .

Find out what I am doing currently by .

7 responses so far,

  1. 1

    Ashwin

    February 21, 2006 at 9:39 am

    Thanks for the plugin notification… The site seems to be done now, I’ll check back later :D

    Is it automatic or do I need to select the posts?

  2. 2

    johntp

    February 21, 2006 at 10:58 am

    The plugin does the work automatically, but we can also manually insert keywords.

    Read the plugins readme for more info :-)

  3. 3

    Sparky

    March 8, 2006 at 7:01 pm

    I still get the error described above…I’m using version 2.02 of your plugin.

    thanks

  4. 4

    johntp

    March 9, 2006 at 9:17 am

    : Did you leave the number of posts to show field in the options page empty?

  5. 5

    Simon

    May 27, 2006 at 1:59 pm

    Thanks John, you have a great site here :-)

  6. 6

    shreekant jawahar

    August 10, 2006 at 1:25 pm

    I have installed it and now want to remove for some reasons..

    How to remove the sql …..i am new with php and mysql

  7. 7

    John T P

    August 10, 2006 at 1:59 pm

    shreekant jawahar- To uninstall plugin just deactivate it from your Admin Panel



    Copyright ©2005-2008 JohnTP, All rights reserved.