Too many debug errors
-
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.jpgI’m using Subscribe2 Version 9.0 and Version Subscribe2 Widget Pro 1.2.5.3
-
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…
I’ve had a hard time reproducing those errors you see on the frontend. Which version of PHP are you using?
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 returningstring '' (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. 🙂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.
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!
The topic ‘Too many debug errors’ is closed to new replies.