• patriotfan

    (@patriotfan)


    Well, I add a widget be accident so I tried to remove it, and no go. So I went into my db and looked for a widget row.

    I edited what I thought was fine (sidebars_widgets) and I now get this error:

    Fatal error: Cannot unset string offsets in /home/newbhutc/public_html/video/wp-includes/widgets.php on line 622

    and here is the code that is left:

    a:3:{s:9:"sidebar-1";a:3:{i:1;s:10:"woo-search";i:2;s:14:"woo-ad-200x200";}s:9:"sidebar-2";a:0:{}s:13:"array_version";i:3;}

    Help

Viewing 1 replies (of 1 total)
  • Thread Starter patriotfan

    (@patriotfan)

    I figured out the code.
    The orig code would be something like this:

    a:2:{s:9:"sidebar-1";a:1:{i:0;s:5:"pages";}s:13:"array_version";i:3;}

    So if you had my problem, try that

Viewing 1 replies (of 1 total)

The topic ‘Fatal Error with Widgets’ is closed to new replies.