WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Bug: Undefined variable: delid on WordPress dashboard

[Resolved] Bug: Undefined variable: delid on WordPress dashboard

  • With define('WP_DEBUG', true); in wp-config.php an error can be observed on WordPress dashboard in WP Email Capture metabox:

    Notice: Undefined variable: delid in /../wp-content/plugins/wp-email-capture/inc/tabledata.php on line 46

    Wrong:

    if ($limit == 0) {
    $delid = wp_email_capture_formdelete($result->id, $result->email);
    }

    Suggested fix:

    if ($limit == 0) {
    $delid = wp_email_capture_formdelete($result->id, $result->email);
    } else {
    $delid = '';
    }

    General note: Please check the whole plugin for these kind of bugs, I showed the free Lite version to a customer who wanted to buy an email capture plugin but then all these notices appeared when they tested on dev-server and scared them away from the plugin, too bad.

    http://wordpress.org/extend/plugins/wp-email-capture/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rhys Wynne

    @rhyswynne

    Hi,

    To answer your emails (very difficult to respond when your form email ID is no-reply@no-email-here.com). I am due to implement this in the next few days.

    Unfortunately personal issues has meant that I’ve been unable to commit time to implementing your changes yet.

    Kind Regards

    Rhys

    No need for email, just wanted to make you aware of the issues described in this forum.

    Take your time and thanks for the great plugin.

    Plugin Author Rhys Wynne

    @rhyswynne

    Resolved as it’s been updated in 2.7.7

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Bug: Undefined variable: delid on WordPress dashboard’ is closed to new replies.