I have debuging turned on because I'm also developing a plugin. I noticed that Widget Logic Visual is throwing a lot of PHP Notice messages for Undefined index in your custom.php file for lines 36-40.
I have debuging turned on because I'm also developing a plugin. I noticed that Widget Logic Visual is throwing a lot of PHP Notice messages for Undefined index in your custom.php file for lines 36-40.
please let us know if this is still the case for the latest version 1.5
It is still the case:
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 67
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 68
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 67
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 68
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 67
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 68
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 67
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 68
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 67
[21-Feb-2012 19:07:20] PHP Notice: Undefined index: select in /Users/jason/Sites/toptruckers.com/wp-content/plugins/widget-logic-visual/custom.php on line 68
@petethechop - thanks for much for letting us know about this. Latest version 1.5.1 should fix it. Please let us know!
That did the trick! Thanks a lot.
hello petethechop
i'm the developer of the plugin, working under totalbounty agency.
would you like to give me any detail ( like input, data, screenshot ) of the problem.
yes, the current version plugin removed the bug, but cause the plugin not work correctly.
but if i remove the patch for your problem, it works.
i'll be happy if you help me
regards,
I don't think I have much more info than I've already provided. There aren't any visual reprecussions, simply a lot of complaining by the PHP engine when debug mode is turned on. It has always been highly recommended that when you are developing plugins you turn on debug mode, so if I could suggest anything, it would be to turn it on and see for yourself.
Had this issue on version 1.52. I have a workaround here, perhaps you can take this and work it back into your coding style.
Extra info: I was seeing those errors when selecting a page template and no exceptions - so any time I did not use the 'select pages' dropdowns. I solved it by changing lines 66-68 to this:
if(!isset($visi['not'])) :
if(isset($visi['select'])) {
$the_visi[$visi['show']]['show'] = $visi['select'];
$eval[$visi['show']] = widget_logic_visual_selection_function($visi['show'],$eval,$visi['select'],false);
} else {
$the_visi[$visi['show']]['show'] = NULL;
$eval[$visi['show']] = widget_logic_visual_selection_function($visi['show'],$eval,NULL,false);
}This topic has been closed to new replies.