Ready to get started?Download WordPress


[resolved] Fatal error message after last comment (3 posts)

  1. giovanealex
    Posted 9 years ago #

    I moved my blog to another server to use my own domain and also changed the theme beacause Landzilla had some paragraph formatting on a few posts. i decided to use a customized version of Provision Public. Everything is almost fine, except for the following: when I clicck on a post and its page appears, the following message appears after the last comment:

    Fatal error: Call to undefined function: commentscript() in /home/giovane/public_html/wp-content/themes/provision/comments.php on line 81

    I don't know if it is plugin error, it seems this theme uses some Gravatar plugin, but even if it is deactivated the error message still appears. I will reproduce the lines a think the message is referring to:

    <?php if ('open' == $post->comment_status) : ?>
    <!-- If comments are open, but there are no comments. -->

    <?php else : // comments are closed ?>
    <!-- If comments are closed. -->
    <p class="nocomments">Comments are closed.

    <?php endif; ?>
    <?php endif; ?>

    <?php if ('open' == $post->comment_status) : ?>
    <?php commentScript() ?>
    <h3 id="respond">Leave a Reply</h3>

    What is the problem? Can someone help me, please?

  2. moshu
    Posted 9 years ago #

    As the error message says:
    <?php commentScript() ?> - there is no such function.
    Delete it.

  3. giovanealex
    Posted 9 years ago #

    Thank you. The problem is soolved now!

Topic Closed

This topic has been closed to new replies.

About this Topic