Title: Error in popular posts
Last modified: August 24, 2016

---

# Error in popular posts

 *  Resolved [THC Labs](https://wordpress.org/support/users/thc-labs/)
 * (@thc-labs)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/)
 * Can you please guide me what to do for this error in the popular posts widget?
 * Warning: The get_mostpopular() template tag has been deprecated since 2.0.3. 
   Please use wpp_get_mostpopular() instead. in G:\PleskVhosts\writopedia.org\thclabs.
   writopedia.org\wp-content\plugins\wordpress-popular-posts\wordpress-popular-posts.
   php on line 3281
 * [https://wordpress.org/plugins/wordpress-popular-posts/](https://wordpress.org/plugins/wordpress-popular-posts/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181251)
 * Hi there!
 * Please, [check here](https://wordpress.org/support/topic/deprecated-message-in-sidebar).
   Ask your theme developer to update the theme so it doesn’t use the get_mostpopular()
   template tag.
 *  Thread Starter [THC Labs](https://wordpress.org/support/users/thc-labs/)
 * (@thc-labs)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181262)
 * Thanks for your quick response Hector… But my theme developers don’t seem to 
   answer quickly… already have some pending unanswered queries… Can you suggest
   some other way by putting some code somewhere i can activate it?
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181270)
 * If I had to guess, I’d look into your theme’s sidebar (sidebar.php).
 * If you’re feeling adventurous, try the following:
    1. Go to _Appeareance > Editor_.
    2. Click on _Sidebar_ (under _Template files_) to edit the sidebar.php file.
    3. Find the `get_mostpopular('SOME_ARGS_HERE_I_GUESS')` function and change it 
       to `wpp_get_mostpopular('SOME_ARGS_HERE_I_GUESS')`.
    4. Hit the _Update file_ button to save changes.
 *  Thread Starter [THC Labs](https://wordpress.org/support/users/thc-labs/)
 * (@thc-labs)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181304)
 * Let me try this and get back… thanks for the quick response bro… cheers
 *  Thread Starter [THC Labs](https://wordpress.org/support/users/thc-labs/)
 * (@thc-labs)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181429)
 * Can’t find this text in the said address bro… can you help find it or change 
   it some other way?
 *  Thread Starter [THC Labs](https://wordpress.org/support/users/thc-labs/)
 * (@thc-labs)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181430)
 * sidebar.php has only the following code:
 * <?php
    global $solostream_options; if ( $solostream_options[‘solostream_layout’]!
   == “Full-Width” ) { ?>
 *  <div id=”contentright”>
 *  <div id=”sidebar” class=”clearfix”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
   || !dynamic_sidebar(‘Sidebar-Wide – Top’) ) : ?> <div class=”widget”> <h3 class
   =”widgettitle”>Text Widget</h3> <div class=”textwidget”> This is a widget area.
   Visit the Widget page in your WordPress control panel to add some content here
   </div> </div>
 *  <div class=”widget”>
    <h3 class=”widgettitle”>Text Widget</h3> <div class=”textwidget”
   > This is a widget area. Visit the Widget page in your WordPress control panel
   to add some content here </div> </div> <?php endif; ?> </div>
 *  <div id=”sidebar-bottom” class=”clearfix”>
 *  <div id=”sidebar-bottom-left”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
   || !dynamic_sidebar(‘Sidebar-Wide – Bottom Left’) ) : ?> <?php endif; ?> </div
   >
 *  <div id=”sidebar-bottom-right”>
    <?php if ( !function_exists(‘dynamic_sidebar’)
   || !dynamic_sidebar(‘Sidebar-Wide – Bottom Right’) ) : ?> <?php endif; ?> </div
   >
 *  </div>
 *  </div>
 * <?php } ?>
 *  Thread Starter [THC Labs](https://wordpress.org/support/users/thc-labs/)
 * (@thc-labs)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181433)
 * Found it under theme-widgets.php
 * Thanks a ton bro and cheers 🙂
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181434)
 * Glad to know you got it working! See? Piece of cake! Hehe
 * Enjoy the plugin!
 *  Thread Starter [THC Labs](https://wordpress.org/support/users/thc-labs/)
 * (@thc-labs)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181438)
 * Haha… you and your plugin are awesome bro 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Error in popular posts’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [deprecated](https://wordpress.org/support/topic-tag/deprecated/)

 * 9 replies
 * 2 participants
 * Last reply from: [THC Labs](https://wordpress.org/support/users/thc-labs/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/error-in-popular-posts/#post-6181438)
 * Status: resolved