Title: Strange Errors found!
Last modified: August 19, 2016

---

# Strange Errors found!

 *  [msolution](https://wordpress.org/support/users/msolution/)
 * (@msolution)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/strange-errors-found/)
 * i found these errors on my blog and cant seem to resolve the issue myself,
 *     ```
       Warning: array_keys(): The first argument should be an array in /home/hostac/public_html/wp-includes/widgets.php on line 686
   
       Warning: Invalid argument supplied for foreach() in /home/hostac/public_html/wp-includes/widgets.php on line 686
   
       Warning: array_keys(): The first argument should be an array in /home/hostac/public_html/wp-includes/widgets.php on line 1345
   
       Warning: Invalid argument supplied for foreach() in /home/hostac/public_html/wp-includes/widgets.php on line 1345
   
       Warning: Invalid argument supplied for foreach() in /home/hostac/public_html/wp-includes/classes.php on line 93
       ```
   
 * After getting to my database found a key on wp-options badly slashed,….
 * `INSERT INTO`wp_options`SET`option_id`='68',`blog_id`='0',`option_name`='widget_categories',`
   option_value`= ....`
 * its like the value has got over a zillion slashes,…. so someplace someone has
   forgot to add stripslashes!
 * i even corrected the above in the database, replacing all slashes [7Mb worth 
   of one line] with single slashes all over, but still have this problem,
 * Please help!
 * M.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [msolution](https://wordpress.org/support/users/msolution/)
 * (@msolution)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/strange-errors-found/#post-874145)
 * link: [razz-ma-tazz.net/](http://www.razz-ma-tazz.net)
 *  Thread Starter [msolution](https://wordpress.org/support/users/msolution/)
 * (@msolution)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/strange-errors-found/#post-874155)
 * upgrading to the latest version doesnt help!
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/strange-errors-found/#post-874157)
 * See if this topic helps:
    [http://wordpress.org/support/topic/172272?replies=25](http://wordpress.org/support/topic/172272?replies=25)
 *  Thread Starter [msolution](https://wordpress.org/support/users/msolution/)
 * (@msolution)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/strange-errors-found/#post-874165)
 * no,…. i dug inside my database, and deleted the value given,… im still getting
   the error, and no GUI
 * also i believe the error has goto do with widget_categories,
    as everytime i 
   try to access my admin page, an error is logged in error_log file …. the error
   line is huge,…. copying the starting of things here
 * `[05-Oct-2008 10:16:34] WordPress database error Got a packet bigger than 'max_allowed_packet'
   bytes for query UPDATE wp_options SET option_value = 'a:1:{i:1;s:967380:\"a:1:{
   i:1;s:484032:\\\"a:1:{i:1;s:242348:\\\\\\\"a:1:{i:1;s:121496:\\\\\\\\\\\\\\\"
   a:1:{i:1;s:61061:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"a:1:{i:1;s:30834:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"
   a:1:{i:1;s:15711:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"
   a:1:{i:1;s:8141:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"
   a:1:{i:1;s:4347:`
 *  Thread Starter [msolution](https://wordpress.org/support/users/msolution/)
 * (@msolution)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/strange-errors-found/#post-874284)
 * can anyone please help!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Strange Errors found!’ is closed to new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [msolution](https://wordpress.org/support/users/msolution/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/strange-errors-found/#post-874284)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
