WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
After Activating the plugin, my site crashed...! (6 posts)

  1. abidg
    Member
    Posted 3 years ago #

    Below is the error code which I get on my Index page of my site right after the installation of Widget Logic.

    Warning: Illegal offset type in /home/ciwce/public_html/wp-content/plugins/widget-logic/widget_logic.php on line 151

    Warning: Illegal offset type in isset or empty in /home/ciwce/public_html/wp-content/plugins/widget-logic/widget_logic.php on line 154

    Warning: Illegal offset type in /home/ciwce/public_html/wp-content/plugins/widget-logic/widget_logic.php on line 151

    Warning: Illegal offset type in isset or empty in /home/ciwce/public_html/wp-content/plugins/widget-logic/widget_logic.php on line 154

    please guide me to fix this issue.

  2. alanft
    Member
    Plugin Author

    Posted 3 years ago #

    can you confirm the version you are using (and if it's not the latest, please update and let me know what happens)

  3. abidg
    Member
    Posted 3 years ago #

    yeah it is the Latest version & updated one.

  4. Rami Yushuvaev
    Member
    Posted 3 years ago #

    same here.
    site crashed. wp v3.1.1.

  5. alanft
    Member
    Plugin Author

    Posted 3 years ago #

    I think what's happening is some widget is not behaving as expected. I have a suggested fix for you, but it would be useful to know what widget making plugins you are both using too.

    after line 150 "$id=array_pop($params);", insert this extra line:

    if (!is_string($id)) return;

    which I think will have the effect of always hiding problematic widgets. Let me know how that works out for you.

  6. graleh
    Member
    Posted 2 years ago #

    Well, the error got away not now I can only see the middle section. The left and right panels went away too..

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic