• trinasc

    (@trinasc)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter trinasc

    (@trinasc)

    I’m sorry but I’m still having problems with this module. While I don’t get the errors above anymore, the widget logic does not appear to be working.

    I have checked the ‘use widget-content filter’ and on the widgets in the side I tried any conditional statement like is_home() and the widgets still appear in all the sidebars.

    I guess it’s the Stars theme, but do you have any ideas of what I should look for?

    I also get this error, did you end up finding a soloution. Muz!

    Warning: Illegal offset type in (dev server)/wp-content/plugins/widget-logic/widget_logic.php on line 128

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget logic error with Stars theme’ is closed to new replies.