Widget Logic errors in The Stars Theme
-
Hi everyone! I am having an issue with Widget Logic and The Stars theme. I get the following error:
Warning: Illegal offset type in (dev server)/wp-content/plugins/widget-logic/widget_logic.php on line 125
Warning: Illegal offset type in (dev server)/wp-content/plugins/widget-logic/widget_logic.php on line 128
Warning: Illegal offset type in (dev server)/wp-content/plugins/widget-logic/widget_logic.php on line 125
Warning: Illegal offset type in (dev server)/wp-content/plugins/widget-logic/widget_logic.php on line 128
The site link is:https://dev.gamingangels.com/
Not sure if you can see the error without being logged in.This is the section of code in widget_logic that it seems to be breaking on:
function widget_logic_redirect_callback()
{ global $wp_registered_widgets;
foreach ( $wp_registered_widgets as $id => $widget )
{ array_push($wp_registered_widgets[$id][‘params’],$id);
$wp_registered_widgets[$id][‘callback_wl_redirect’]=$wp_registered_widgets[$id][‘callback’];
$wp_registered_widgets[$id][‘callback’]=’widget_logic_redirected_callback’;
}
}Any ideas of things to try/check? I’ve read all the widget logic posts and can’t find anything.
Thank you for your help,
Trina
- The topic ‘Widget Logic errors in The Stars Theme’ is closed to new replies.