Forums

[resolved] Fatal error: Call to undefined function: wp_related_posts() (7 posts)

  1. toonshorty
    Member
    Posted 1 month ago #

    I am actually on version 2.8.5

    I have installed a new theme which is called 'Digital Statement' and is really nice exept when I load a post/blog entry some of the CSS is missing and I get the error message:

    Fatal error: Call to undefined function: wp_related_posts() in /home/rende10/public_html/elementalreviews/wp-content/themes/DigitalStatement/single.php on line 35

    Not sure what is causing it, you can see what I mean by going here:

    http://rendergfx.com/elementalreviews/?p=1

    Many thanks,

    - Toonshorty

  2. nazcar
    Member
    Posted 1 month ago #

    try disabling the plugin "WP Related Post"

  3. toonshorty
    Member
    Posted 1 month ago #

    I have every single plugin disabled?

    WP Related Post isnt even a plugin?

    Thanks for the quick response ;)

  4. stvwlf
    Member
    Posted 1 month ago #

    Hi

    I suspect its more like that theme needs a plugin called wp_related_posts installed in order to function as intended. Read the theme's installation instructions. Sometimes themes like this include the necessary plugins in a theme plugins folder that you have to move into the WP plugins folder, other times they instruct you where to download plugins from.

    The solution is unlikely to be "disable the WP Related Posts plugin" because the error message says it can't FIND that plugin, thus its unlikely to be enabled.

  5. toonshorty
    Member
    Posted 1 month ago #

    Meh, stvwlf - I love you =)

    I installed using wordpress' built in installer so didn't realise there was a plugin directory at all.

    Thanks for all your help.

  6. nazcar
    Member
    Posted 1 month ago #

    you have error undefined function named wp_related_posts..

    its not a native function of wordpress..

    if you downloaded this theme from premium themes provider, it should be bundled with a plugin.

    Try to install this plugin:
    http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/

    If it didnt work, remove the code that calls wp_related_posts in your single.php in your current theme.

  7. toonshorty
    Member
    Posted 1 month ago #

    Thanks for the help nazcar but I got it working.

Reply

You must log in to post.

About this Topic