Hi Dashbo,
Thanks for using our plugin!
For every problem is a solution … so we will solve this one.
This is what makes the error:
function wud_widget_text( $widget_text, $instance )
If i look to it, it does not find one of the variables.
So i will check this and give a solution.
BTW is it possible that the widget has no name (title)?
Regards, Danny
Hi Dashbo,
I made some modification to the function in grid-wud.php and changed next lines:
FROM
function wud_widget_text( $widget_text, $instance)
TO
function wud_widget_text( $widget_text, $instance = [] )
and FROM
if (has_shortcode( $instance['text'], $tag ) )
TO
if ( isset($instance['text']) && (has_shortcode( $instance['text'], $tag )) )
So the new code is:
function wud_widget_text( $widget_text, $instance = [] )
{
global $gwfuncs, $grid_wud_widget;
$tag = 'gridwud';
if ( isset($instance['text']) && (has_shortcode( $instance['text'], $tag )) )
$grid_wud_widget=1;
else
$grid_wud_widget=0;
return $widget_text;
}
This might help you to resolve the problem and will be included into the next release.
If you can replace the code by yourself it would be great otherwise you can request a beta release here.
If it does not resolve your problem, please de-activate 1 by 1 your plugins until the error line disappears and let me know the name of this plugin.
Regards Danny
Thread Starter
dashbo
(@dashbo)
That worked!
Thanks Danny! Both for the quick and efficient response and for the great plugin!
Your welcome Dashbo, btw you have point me to this issue and told me exactly when and how it occurred.
This made it a lot easier for me to find a solution.
Thank you!
Regards, Danny