Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1257368
    V
    Participant

    Hi, I’m having that odd php error so many others have been having here, but maybe I’m missing something that’s a little more specific for my situation.

    The solutions from this forum I’ve tried so far:

    1. resetting browser cache
    2. making certain that debugger is off…it definitely says
    define('WP_DEBUG', false);
    in the wp-config.php file.
    3. Turning off all plugins. The problem still persists with all plugins disabled.
    4. Switching themes (others don’t have the same “add sidebar function) and back again in case the refresh would fix the error. Nope.
    5. Logging out and then back in again. Nope.
    6. Restoring the files affected…and then eventually the entire public_html files to an earlier version. Nope.
    7. Logging in through another browser and attempted to add a sidebar. Nope.

    So here’s the error.

    Warning: array_key_exists() expects parameter 2 to be array, boolean given in public_html/wp-content/themes/x/framework/functions/global/admin/sidebars.php on line 378.
    
    Warning: Cannot modify header information - headers already sent by (output started at public_html/wp-content/themes/x/framework/functions/global/admin/sidebars.php:378) in /home/vaness05/public_html/wp-includes/pluggable.php on line 1174.

    Need I mention there is no line 1174 in that file since it stops at 461?

    Any other suggestions out there or anyone dealing with the same?

    #1257377
    V
    Participant
    This reply has been marked as private.
    #1257583
    Rupok
    Member

    Hi there,

    Are you facing this while trying to create a custom sidebar? Can you provide your username as well so that we can have a look?

    Thanks!

    #1257779
    V
    Participant
    This reply has been marked as private.
    #1257880
    Christian
    Moderator

    Hey there,

    I added a test sidebar and I didn’t get the error. If it’s still happening on your end, would you mind giving us a screen recording?

    Thanks.

    #1257904
    V
    Participant

    Very mysterious. I’m not getting the error after you had added a sidebar for me—just like the others. That would suggest to me a cache or browser specific error to me except for the fact I spent a lot of time clearing caches, etc. It’s a work around, any way. Thank you!

    Possible clues to to the issue upon consideration?
    1. There are no error messages when I forget to put a title on my sidebar (possibly what was aggravating the situation…I failed to notice that step yesterday)
    2. The screen was completely white (except the message) just like any other wp fatal error.

    #1257990
    Rahul
    Moderator

    Glad it worked for you and thanks for a work around!

    Let us know if we can help with anything else.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1257368 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>