Forums

Fatal error on related posts: Call to undefined function yarpp_sql( (5 posts)

  1. leslietrosset
    Member
    Posted 6 months ago #

    Can anyone help me with the following fatal error on my blog posts under Related Posts? The error shows up on every post. I'm not sure if it started after upgrading to 3.2.1 or not.

    Fatal error: Call to undefined function yarpp_sql() in /home/content/39/7638239/html/wp-content/themes/cleancorp/cleancorp/single.php on line 74

    This is the code from single.php for the Related Posts:

    [code moderated - please use the pastebin for any code longer than 10 lines - see forum guidelines for posting code]

    Thanks,
    Leslie

  2. Josh
    Member
    Posted 6 months ago #

    Hi Leslie,

    Try that again, but wrap your code with backticks when posting code. It's the button on the top left of the keyboard with the "~" character on the same button.

  3. alchymyth
    The Sweeper
    Posted 6 months ago #

    do you have the yarpp (yet-another-related-posts-plugin) plugin installed and activated?

  4. leslietrosset
    Member
    Posted 6 months ago #

    @alchymyth I installed a yarpp plugin and that fixed the problem. However, now the error is on the Popular Posts, so I figured I need a popular posts plugin? the problem is there are so many to choose from. Any tips?

    @Josh - thanks for helping! I think I'm on the right track.

    Leslie

  5. alchymyth
    The Sweeper
    Posted 6 months ago #

    the full error message might give an indication which plugin is missing;

    there is also a possibility that the theme has a read-me file or other instructions (possibly on the website where you got it from) that tell you which plugins are needed for the theme.

    also, as this is a commercial theme, please contact the theme seller for instructions/support.

Reply

You must log in to post.

About this Topic