• Resolved angeloff

    (@angeloff)


    Hi,

    I have installed WP 2.7.1 (my site is hosted by BlueHost) and run into trouble with configuring widgets. For example, I have Available Widgets (Appearance -> Widgets), which do not have the Add link, but are still displayed (like Links and Search). However, they do not show in the Current Widgets section. Then when I click on the Add link for a widget, I got all my widgets disappear from display on the web page. After removing the widget, the web page displays the initial widgets again… Something is wrong here. Can anyone help? Thanks in advance!

    Rgds,
    Alfred

Viewing 7 replies - 1 through 7 (of 7 total)
  • MichaelH

    (@michaelh)

    I wonder if this is activating a theme that had two sidebars, adding the Page Widget to what would be the 2nd sidebar, then changing to a theme with just one sidebar?

    If so, try changing back to a two sidebar theme, removing the Pages widget, then back to the single sidebar theme.

    Also guess you could delete the ‘widget_xxxxx’ option names in wp_options or set their values to a:0:{}

    If that is the issue, please report back here. Thanks.

    Thread Starter angeloff

    (@angeloff)

    Thanks Michael,

    I haven’t installed a theme with 2 sidebars, just using the default theme…I’ll tinker with the wp_options as you suggested and will post here if any success or otherwise. Thanks again.

    Alfred

    Thread Starter angeloff

    (@angeloff)

    Hi Michael,

    Here are the widget recs from wp_options table:
    =============================
    SQL result
    Host: localhost
    Database: tradeora_wp02
    Generation Time: Mar 02, 2009 at 05:29 AM
    Generated by: phpMyAdmin 2.11.9.4 / MySQL 5.0.75-community-log
    SQL query: SELECT * FROM wp_options WHERE option_name like ‘w%’ LIMIT 0, 100 ;
    Rows: 8

    option_id blog_id option_name option_value autoload
    24 0 what_to_show posts yes
    199 0 widget_archives a:3:{s:5:”count”;b:1;s:8:”dropdown”;b:0;s:5:”title”;s:8:”Archives”;} yes
    93 0 widget_categories a:0:{} yes
    219 0 widget_meta a:1:{s:5:”title”;s:0:””;} yes
    202 0 widget_pages a:3:{s:5:”title”;s:5:”Pages”;s:6:”sortby”;s:10:”post_title”;s:7:”exclude”;s:0:””;} yes
    95 0 widget_rss a:0:{} yes
    94 0 widget_text a:0:{}
    ======================================

    I don’t see my Links widget etc. Should I reinstall WP?
    Thanks.

    Alfred

    MichaelH

    (@michaelh)

    I don’t see my Links widget etc. Should I reinstall WP?
    Thanks.

    Don’t think reinstall is necessary. Found out the Links widget doesn’t have an entry, when in use, in wp_options–guess because there is no configuration option available for that widget. I wondered if another plugin was causing that problem.

    On a one-sidebar theme, with the Links Widget added to the sidebar, in wp_options the ‘sidebar_widgets’ option_name has this option_value

    a:3:{s:9:”sidebar-1″;a:1:{i:0;s:5:”links”;}s:9:”sidebar-2″;a:0:{}s:13:”array_version”;i:3;}

    Thread Starter angeloff

    (@angeloff)

    Hi Michael,

    Thanks.
    I’m wondering if you can provide me with the default (option_name + option_value) for the Search widget as well as these 2 DO NOT have and adjacent ADD link (just empty space). The rest of the widgets all have ADD links and NONE is listed on the right under Available Widgets section. The strange thing is that I have Pages, Categories, Archives, Blogroll, and Meta widgets showing on my home page, but they still have this ADD link in the Available Widgets section and none of them is listed in the Current Widgets section on the right…When I experimented adding an existing (displayed) widget like Blogroll – all widgets disappeared! I then removed it and all displayed OK. Something’s wrong here. Maybe I should add all displayed widgets manually if you can provide me with the values??? I’ll appreciate your help here!

    Thanks!

    Alfred

    MichaelH

    (@michaelh)

    Not sure what your problem is, unless you have a plugin causing the problem – maybe the old sidebar widget plugin (which should be removed and all the files related to it removed).

    Here’s the sidebar_widgets set with just the Search Widget:
    a:2:{s:9:"sidebar-1";a:1:{i:0;s:6:"search";}s:13:"array_version";i:3;}

    Thread Starter angeloff

    (@angeloff)

    Thanks Michael!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem adding/removing widgets’ is closed to new replies.