Title: [Plugin: Top Commentators Widget] WordPress 2.5 Error
Last modified: August 19, 2016

---

# [Plugin: Top Commentators Widget] WordPress 2.5 Error

 *  [plutopsyche](https://wordpress.org/support/users/plutopsyche/)
 * (@plutopsyche)
 * [18 years ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/)
 * I’m getting the following error in the Widgets screen in WordPress 2.5.0 (it 
   worked great up to 2.3.2).
 * > Fatal error: Cannot redeclare ns_substr_ellipse() (previously declared in /
   > home/plutonic/public_html/blog/wp-content/plugins/topcommentators_widget.php:
   > 26) in /home/plutonic/public_html/blog/wp-content/plugins/topcommentators_widget.
   > php on line 26
 * Any ideas?
 * Thanks!
 * [http://wordpress.org/extend/plugins/top-commentators-widget/](http://wordpress.org/extend/plugins/top-commentators-widget/)

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

 *  [majormike01](https://wordpress.org/support/users/majormike01/)
 * (@majormike01)
 * [18 years ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731388)
 * When I activate Top Commentators Widget (ver .999) in WorPress 2.5.0 all the 
   succeeding widgets don’t appear in the widget list and the save changes button
   disappears.
 *  [Tari](https://wordpress.org/support/users/tari/)
 * (@tari)
 * [17 years, 12 months ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731435)
 * I confirmed the first Post, I got the same Error… any suggestions to solve this?
 *  [Tari](https://wordpress.org/support/users/tari/)
 * (@tari)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731441)
 * *bump* nobody? 🙁
 *  [freekill](https://wordpress.org/support/users/freekill/)
 * (@freekill)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731442)
 * This is easy to fix, it’s just an issue with the way that the original plugin
   is written and to how things get called in 2.5.
 * just open up the plugin in a text editor and move the following 3 functions outside
   the scope of the functions they are in:
 * ns_substr_ellipse
    ns_get_user_url ns_show_top_commentators
 * Anyway, if you want the changes, I put my modified file back into the top commentators
   zip file. You [can grab it if you want](http://www.groovygrooves.com/wp-content/uploads/top-commentators-widget.0.999.zip),
   but use at your own risk 🙂 The changes I made are working fine over at my blog:
   
   [Groovy Grooves](http://www.groovygrooves.com)
 * [Top Commentators Hacked Changes](http://www.groovygrooves.com/wp-content/uploads/top-commentators-widget.0.999.zip)
 *  [ails](https://wordpress.org/support/users/ails/)
 * (@ails)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731443)
 * Cheers for that, it works a treat.
 *  [Tari](https://wordpress.org/support/users/tari/)
 * (@tari)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731444)
 * woohoo, works great, thank you FreeKill!!
 *  [ronchicago](https://wordpress.org/support/users/ronchicago/)
 * (@ronchicago)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731484)
 * i have installed the hacked version ( thank you! ) of this plugin and have two
   questions…
 * 1) it does not show my top/any commentors prior to the install, just the ones
   after the install.
 * 2) also, the title does not appear
 *  [ronchicago](https://wordpress.org/support/users/ronchicago/)
 * (@ronchicago)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731485)
 * well, i went back into the options menu and it was back to default mode so i 
   again typed in the title = title appeared.
 * then i added 10 commentators – the field was blank – and now the commentators
   i did have after the install now displays = no commentators
 * i also changed the default one month recycle to one hour and maybe commentors
   will appear in an hour?
 *  [Lorna Timbah](https://wordpress.org/support/users/webgrrrl/)
 * (@webgrrrl)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731489)
 * Thanks for the bug report and sorry for the long delay. Hopefully the latest 
   release fixes the errors everyone has mentioned above.

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

The topic ‘[Plugin: Top Commentators Widget] WordPress 2.5 Error’ is closed to new
replies.

 * 9 replies
 * 7 participants
 * Last reply from: [Lorna Timbah](https://wordpress.org/support/users/webgrrrl/)
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/plugin-top-commentators-widget-wordpress-25-error/#post-731489)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
