Support » Fixing WordPress » 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 INTOwp_optionsSEToption_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

    (@msolution)

    Thread Starter msolution

    (@msolution)

    upgrading to the latest version doesnt help!

    Thread Starter msolution

    (@msolution)

    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

    (@msolution)

    can anyone please help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Strange Errors found!’ is closed to new replies.