WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Error attempting to add comment (6 posts)

  1. punkoblog
    Member
    Posted 6 years ago #

    I setup and installed wordpress 2.2.3 using Mandigo 1.19 as a theme. When I attempt to comment on a post, I get an error.

    Here is the error:

    <!-- Uncomment this for Related Posts Plugin Related Posts

    Fatal error: Call to undefined function: related_posts() in /homepages/7/d192903141/htdocs/wp-content/themes/mandigo-19-seo/single.php on line 76

    Here is what line 76 in simple.php looks like:

    <!-- Uncomment this for Related Posts Plugin
    <b>Related Posts</b>

      line 76- <?php related_posts(); ?>

    My website is http://www.punkoblog.com.
    Does anyone have any ideas? Any help would be much appreciated.

    Thank You,
    Roman

  2. punkoblog
    Member
    Posted 6 years ago #

    Oh, and I am not using any type of "Related Post" plugin.

  3. punkoblog
    Member
    Posted 6 years ago #

    Uh Oh, no one has any ideas? This could be bad.

  4. whooami
    Member
    Posted 6 years ago #

    if you arent using the plugin and youre seeing that error, than it suggests that it's uncommented.

    The solution is to remove the code that calling it:

    <?php related_posts(); ?>

    or insure that it is properly commented out.

  5. Chris_K
    Member
    Posted 6 years ago #

    Your theme assumes that the related posts plugin is installed.

    Fatal error: Call to undefined function: related_posts() in /homepages/7/d192903141/htdocs/wp-content/themes/mandigo-19-seo/single.php on line 76

    If you don't intend to install a/the related posts plugin, I'd edit that file and remove the line calling for it.

    [or what Whoo said 34 seconds quicker]

  6. punkoblog
    Member
    Posted 6 years ago #

    Wow, you guys rock. I guess I need to learn more php. I got it figured out now. Thanks a million!

    Roman

Topic Closed

This topic has been closed to new replies.

About this Topic