WordPress.org

Support

Support » Plugins and Hacks » Email this Post Plugin Help

Email this Post Plugin Help

  • I installed the “Email to a friend” plugin and for about a month it worked fine.

    Here is the problem: When you click the “Email this Post” a separate window comes up with all the information you need. Once you click submit I you get this error:

    Fatal error: Call to undefined function: get_the_id() in /home/sneak/public_html/wp-content/plugins/email/email.php on line 753

    I have no idea why it does this, but if anyone can help I would appreciate it. And btw my website is http://www.sneakerfiles.com

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would suggest you to upgrade WP together with WP-Email.

    But if for some reasons you cant do that, Open up email.php.

    Find:
    ?>

    Add before it:
    ### Function: E-Mail Post ID
    if(!function_exists('get_the_id')) {
    function get_the_id() {
    global $id;
    return $id;
    }
    }

    Thanks, that actually worked well.

    Is there anyway to customize after you sent the email what it will say?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Email this Post Plugin Help’ is closed to new replies.
Skip to toolbar