WordPress.org

Ready to get started?Download WordPress

Forums

Plug in problems (8 posts)

  1. Petrof51
    Member
    Posted 4 years ago #

    I have recently added two plug ins for wp security and database back up, the message below has 'arrived' on home and about page. I don't want to compromise the security or database by fiddling about. Can you help? Regards Alan Oliver

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/woodfini/public_html/practicalwoodfinishing.com/wp-includes/widgets.php on line 825

  2. s_ha_dum
    Member
    Posted 4 years ago #

    First, disable the new plugins one at a time to see which one is causing the problem.

  3. Jauhari
    Member
    Posted 4 years ago #

    I have the some problem, I was try to DISABLE ALL PLUGIN but the error still show up :(

    How to fix it?

  4. internetcashprogram
    Member
    Posted 4 years ago #

    I just commented out since i don't use side widgets. I deactivated all plugins as well and continued to get an error.

    This helped my situation:

    //if ( empty($wp_registered_sidebars[$index]) || !array_key_exists($index, $sidebars_widgets) || !is_array($sidebars_widgets[$index]) || empty($sidebars_widgets[$index]) )
    	//return false;
  5. internetcashprogram
    Member
    Posted 4 years ago #

    Sorry... forgot to add the file info where to comment out:
    /wp-includes/widgets.php on line 825

  6. Jauhari
    Member
    Posted 4 years ago #

    So how to fix it? I need to enable widget on my themes and the problem still appear :(

  7. llamaman
    Member
    Posted 4 years ago #

    I solved this problem by clicking "save" on a text widget. Weird. :)

  8. omurphy
    Member
    Posted 4 years ago #

    I had the same problem happen to me after I changed the 'wp' prefix on all my database tables.

    internetcashprogram's solution of commenting out the offending line of code worked for me, but I was wondering if there's another work around for someone who still wants to use side widgets?

    I don't know any PHP or MySql so I can't figure it out on my own.

Topic Closed

This topic has been closed to new replies.

About this Topic