• I’ve been trying to upgrade my wife’s blog for awhile and every time I loose the sidebar widgets. The current version where the widgets work is 2.2.1. I’ve upgraded to 2.7, 2.5 and 2.3 but everytime I loose all text widgets and sometimes loose the ability to have them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Please try to reload widgets from wordpress admin. It should resolve the case.

    Thanks,

    Shane G.

    Thread Starter rylanherring

    (@rylanherring)

    Thanks Shane. The widgets are no longer in the admin. The widgets that were on and being used are gone and in one of the upgrades (to 2.5 I think) I lost the option of having text widgets. I appreciate any suggestions. I haven’t been able to find any info on this one.

    Just upgraded to WP 2.7.1 from 2.3.3 and I am getting an error – no sidebars show at all.

    I previously used plug-in Exec PHP 4.9. When I try to activate it all my front page posts disappear. Without it activated I get the following error:

    Fatal error: Call to undefined function: tla_ads() in /home/content/v/e/l/veliapola/html/wp-content/themes/w2_dnd/sidebar.php on line 45

    I also tried eliminating any widgets with code in them but still no sidebars show and I still get the error.

    This is my sidebar code:

    ‘ <div id=”sidebar”>

    <?php if (is_home()) { ?>

      <?php /* w_ShowAbout(); */ ?>

    <?php } ?>

    <?php if ( (is_archive()) or (is_search()) or (is_paged()) or (is_page()) or (is_category()) or (is_single()) or ($notfound == ‘1’) ) { ?>

    <h3>recent posts</h3>

      <?php query_posts(‘showposts=7’); ?>

      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    • “><?php the_title() ?>
    • <?php endwhile; endif; ?>

      <script type=”text/javascript”><!–

      google_ad_client = “pub-1147445779577085”;

      /* 336×280, created 4/17/08 */

      google_ad_slot = “0730569478”;

      google_ad_width = 336;

      google_ad_height = 280;

      //–>

      </script>

      <script type=”text/javascript”

      src=”https://pagead2.googlesyndication.com/pagead/show_ads.js”&gt;

      </script>

    <?php } ?>

    <div class=”sbwidgets”>

    <ul id=”sidebarright”>

    <?php if( is_home() ) tla_ads(); ?>

    <?php /* daniels_archive_dropdown(); */ ?>

    <?php if ( !function_exists(‘dynamic_sidebar’)

    || !dynamic_sidebar(2) ) : ?>

    <li id=”archives”>

    <h3>Archives</h3>

      <?php wp_get_archives(‘type=monthly’) ?>

    <li id=”rsslinks”>

    <h3>Syndication</h3>

    <li id=”meta”>

    <h3>Meta</h3>

      <?php wp_register(); ?>

      <?php wp_loginout(); ?>

    • WordPress

    • <?php wp_meta(); ?>

    <?php endif; ?>

    <ul id=”sidebarleft”>

    <!– Start AWSOM Archive Output –>

    <?php if (function_exists(‘display_my_awsom_archive_custom’)) { display_my_awsom_archive_custom(); } ?>

    <!– End AWSOM Archive Output –>

    <?php if ( !function_exists(‘dynamic_sidebar’)

    || !dynamic_sidebar(1) ) : ?>

    <li id=”links”>

    <h3>Links</h3>

      <?php wp_list_bookmarks(‘categorize=0&title_li=’); ?>

      <?php endif; ?>

    • <?php if (function_exists(‘wp_theme_switcher’)) { ?>

      <h3><?php _e(‘The Themes’ ); ?></h3>

      <?php wp_theme_switcher(); ?>

      <?php } ?>

    </div><!– end sbwidgets–>

    </div><!–end sidebar–> ‘

    my site is at https://golfforethegood.org

    Thanks, anyone, for any fix!

    wow, plus I just realized my whole footer is missing…

    OK – lesson learned!!! Hopefully this will keep someone else from freaking out on an upgrade! Knowing the error had to be in the code I finally thought to go to the THEME’s website (DUH!) and found a new version for WordPress versions greater than 2.3 – then re-uploaded the problem file (sidebar.php) and voila! All fixed!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘loose sidebar widgets after upgrading wordpress’ is closed to new replies.