WordPress.org

Ready to get started?Download WordPress

Forums

Strange Errors found! (6 posts)

  1. msolution
    Member
    Posted 5 years ago #

    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.

  2. msolution
    Member
    Posted 5 years ago #

  3. msolution
    Member
    Posted 5 years ago #

    upgrading to the latest version doesnt help!

  4. MichaelH
    Member
    Posted 5 years ago #

  5. msolution
    Member
    Posted 5 years ago #

    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:

  6. msolution
    Member
    Posted 5 years ago #

    can anyone please help!

Topic Closed

This topic has been closed to new replies.

About this Topic