WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Error attempting to add comment

[Resolved] Error attempting to add comment

  • punkoblog
    Member

    @punkoblog

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • punkoblog
    Member

    @punkoblog

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

    punkoblog
    Member

    @punkoblog

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

    whooami
    Member

    @whooami

    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.

    Chris_K
    Member

    @handysolo

    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]

    punkoblog
    Member

    @punkoblog

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

    Roman

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Error attempting to add comment’ is closed to new replies.