Ready to get started?Download WordPress


Restrict Widgets
Warning messages in sidebar (3 posts)

  1. bellechan
    Posted 8 months ago #


    As soon as I put a widget in the sidebar, I get error messages, even on pages that are not supposed to have the widget displayed as set up by the plugin Restrict Widgets.

    For each widgets I place in the side bar I receive 2 different messages :
    Warning: array_keys() [function.array-keys]: The first argument should be an array in [...]/wp-content/plugins/restrict-widgets/restrict-widgets.php on line 146

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in [...]/wp-content/plugins/restrict-widgets/restrict-widgets.php on line 146

    I am using WordPress 3.6 in a multisite install with the default theme Twenty Thirtheen.

    Please also note, that the problem appeared once in my Firefox (mac), but now I can't see it anymore, but it is still displaying in other browsers (Safari mac, Safari iphone, IE9...).

    Thank you for your help!


  2. dFactory
    Plugin Author

    Posted 8 months ago #

    Restrict Widgets is not multisite compatible yet. That's the reason for the warnings you get. We have it in our plans to make all our plugins MU compatible, we just need some time,

  3. bellechan
    Posted 8 months ago #

    Thank you for your quick reply!


You must log in to post.

About this Plugin

About this Topic