WordPress.org

Forums

Subscribe2 Widget Pro
[resolved] Too many debug errors (6 posts)

  1. Mayeenul Islam
    Member
    Posted 1 year ago #

    I's developing a site unaware about WP_DEBUG.
    In the way I became aware about it and enabled WP_DEBUG and found many undefined variable error in the widget of Subscribe2.

    I added a full screen image of the errors, uploaded to my dropbox:
    https://www.dropbox.com/s/rybg0khdm148zn3/subscribe2.jpg

    I'm using Subscribe2 Version 9.0 and Version Subscribe2 Widget Pro 1.2.5.3

    http://wordpress.org/plugins/subscribe2-widget-pro/

  2. Devin Walker
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the screenshot Mayeenul - I'll be sure to take care of those notices in the next version. Look for that in a few days...

  3. Devin Walker
    Member
    Plugin Author

    Posted 1 year ago #

    I've had a hard time reproducing those errors you see on the frontend. Which version of PHP are you using?

  4. Mayeenul Islam
    Member
    Posted 1 year ago #

    PHP 5.3.5, localserver, WAMP 2.1.

    In widget-output.php, is that correct saying:
    if (!empty($postto) && $postto !== 'home') { on line 32
    I'm thinking about !==, isn't it should be !=? I actually am not a PHP dev., I may be wrong. :)

    I var_dump($postto), it's returning string '' (length=0).

    Where is the $postto variable declared?

    Thanks for your interest in fixing bugs. If you want more details, we can chat in gTalk: wz.islam. But using the forum is also fine for me. :)

  5. Devin Walker
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Mayeenul - I'm pushing out version 2.0 this weekend and would love for you to check it out! I've paid attention to fixing various bugs and it should be running clean with WP_DEBUG set to true.

  6. Devin Walker
    Member
    Plugin Author

    Posted 1 year ago #

    I'm going to mark this as resolved. If you notice any debug errors in version 2.0+ please open a new topic. Thanks for checking out the plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Subscribe2 Widget Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic