• I’m getting a error with the Share This plugin. In testing the plugin and not entering an e-mail address into the send or from email address fields I get the following error.

    Fatal error: Call to undefined function: wp_die() in /home/mysite/public_html/blogs/wp-content/plugins/share-this/share-this.php on line 525.

    Line 525 is the code included below.

    if (empty($post_id) || empty($to) || !ak_check_email_address($to) || empty($email) || !ak_check_email_address($email)) {
    wp_die(__(‘Click your back button and make sure those e-mail addresses are valid then try again.’, ‘alexking.org’));
    }

    I’m currently using WordPress 2.04 and I’m no PHP programmer. Does anyone see anything in the code above that might be causing the error and if so can you suggest a fix.

    Appreciate any help/suggestions

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Looking at the share this plugin, that error should not be possible. Make sure that you are not missing any files from the wp-includes directory.

    Thread Starter bittersweet

    (@bittersweet)

    I upgraded to WordPress 2.0.5 and that fixed the problem. Thanks for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Share This Plugin wp_die() Error’ is closed to new replies.