Existing Sidebar Widgets Disappeared and Cannot Add New Ones (9 posts)

  1. Pointers86
    Posted 2 years ago #

    Hi all, thank you in advance for taking the time to try and help me. I'm not web illiterate, but I am not a pro by any means. Therefore, please keep in mind that you may be speaking to a bit of a novice.

    I recently upgraded to WordPress 3.5. I found that all the sidebars and the widgets contained therein that I created for custom pages had been removed.

    For standard pages like "home page," they are still in tact. However, if I created a "Services" page and had a sidebar with widgets containing text, it is no longer part of the page.

    When I go to widgets it shows approximately 50 inactive widgets now, and only the default sidebars.

    When I try to create new sidebars with new pages it does not register.

    I've already deactivated/activated all plugins as well.


  2. colectiv
    Posted 2 years ago #

    I have a similar problem and instead of a sidebar, I get this error message "Fatal error: Call to undefined function dynamic_sidebar() in /home/colectiv/public_html/wp-content/themes/twentyeleven/sidebar.php on line 16"
    This is the sidebar.php code, can someone tell me where the error is?

    [Excessive and un-back-ticked code deleted]

    My site is http://www.colectivosustento.org

  3. colectiv
    Posted 2 years ago #

        * The Sidebar containing the main widget area.
        * @package WordPress
        * @subpackage Twenty_Eleven
        * @since Twenty Eleven 1.0
        $options = twentyeleven_get_theme_options();
        $current_layout = $options['theme_layout'];
        if ( 'content' != $current_layout ) :
        <div id="secondary" class="widget-area" role="complementary">
        <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
        <aside id="archives" class="widget">
        <h3 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h3>
            <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?> 
        <aside id="meta" class="widget">
        <h3 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h3>
            <?php wp_register(); ?>
            <?php wp_loginout(); ?>
            <?php wp_meta(); ?> 
        <?php endif; // end sidebar widget area ?>
        </div><!-- #secondary .widget-area -->
        <?php endif; ?>
  4. colectiv
    Posted 2 years ago #

    To explain a bit more, I have no dynamic sidebar in my widgets page, so nothing to drop widgets into.
    Also, at the bottom of the Widgets page, in a section entitled "Inactive Widgets" I see this message: Fatal error: Call to undefined function dynamic_sidebar() in /home/colectiv/public_html/wp-admin/includes/widgets.php on line 80

    I am also a bit of a novice and would appreciate some help. I deactivated all plug-ins and the situation remained the same.
    Thank you in advance. Penny

  5. WPyogi
    Forum Moderator
    Posted 2 years ago #

    @Penny - you may not realize it, but you've totally hijacked the OP's thread - which really is not cool here. You also don't have the same issue. Please start your own thread, and first see the forum guidelines re: posting large amounts of code.
    You should be using pastebin for an entire file.

  6. WPyogi
    Forum Moderator
    Posted 2 years ago #

    @Pointers86 - what theme are you using and have you gone through the 3.5 update troubleshooting thread here:


  7. colectiv
    Posted 2 years ago #

    I am so sorry, I did not mean to hijack the thread. In fact, I was trying to be careful not to repeat a question by opening a new thread. So, thanks for pointing this out to me, and the point about the code. Problems of being a newcomer :)
    I will read your suggestions now.

  8. colectiv
    Posted 2 years ago #

    ok, I will start a new thread..

  9. WPyogi
    Forum Moderator
    Posted 2 years ago #

    It's okay :). I know it's confusing when you are new and not all forums work this way. We'll be happy to help in your new, very own thread.

Topic Closed

This topic has been closed to new replies.

About this Topic