• Resolved radial

    (@radial)


    see it at https://whootah.com
    Sorry to post so much, i just want to provide as much info as possible.

    Fatal error: Call to undefined function: comments_popup_link() in /home/radialmo/public_html/whootah/wp-content/themes/whootah2/index.php on line 17

    my line 17 is this:
    <p class=”postmetadata”>Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?>

    My theme is a mix between blix and kubrick.
    if in my header.php file i add:
    <?php comments_popup_script(); ?>

    I get the error on my webpage:
    Fatal error: Call to undefined function: comments_popup_script() in /home/radialmo/public_html/whootah/wp-content/themes/whootah2/header.php on line 25

    it’s like no calls to comment functions are working at all. when i go to dashboard, the area for comments says:
    Fatal error: Call to undefined function: get_comment_author_link() in /home/radialmo/public_html/whootah/wp-admin/index.php on line 52

    line 52 says:
    echo ‘

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try deleting and reuploading comment-functions.php in the wp-includes/ directory. It could have been corrupted (and so the functions in it are not being called).

    Thread Starter radial

    (@radial)

    hmmmmmm that comment-functions.php file in includes was size 0. not sure why that is, i did not delete anything under the includes directory during the upgrade preparation, and when i uploaded i told filezilla to overwrite all files.

    regardless, i reuploaded the file from the same source i originally uploaded from, it overwrote it, correct file size now and the site is magically working again.

    i didnt look there, i was looking at the theme folder for a problem. thanks so much Kafkaesqui!

    when i uploaded i told filezilla to overwrite all files.

    Yep, ftp is notoriously good (or rather, bad) at crunching overwritten files. It’s why around here we recommend deleting them before uploading.

    thank you so much for post the problem and the resolution!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘upgraded to 2, now error on comments_popup_link()’ is closed to new replies.