Title: Undo installation 4.0
Last modified: August 21, 2016

---

# Undo installation 4.0

 *  [arbe-vanbeek](https://wordpress.org/support/users/arbe-vanbeek/)
 * (@arbe-vanbeek)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/)
 * Yes, I am such a guy who always updates plugins without looking…
 * So far, so good. However my news section broke down after updating to 4.0. Please
   let me know how I can undo the installation?
 * [https://wordpress.org/plugins/category-posts/](https://wordpress.org/plugins/category-posts/)

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/undo-installation-40/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/undo-installation-40/page/2/?output_format=md)

 *  Plugin Author [Mrinal Roy](https://wordpress.org/support/users/mkrdip/)
 * (@mkrdip)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121269)
 * Hi There,
 * After updating the plugin, you need to re-configure the widget as the latest 
   version is fully re-coded from previous. Can you share your website URL so I 
   can check where you’re having problem. I’ll be glad to provide alternative suggestions.
 * Have a nice day, Cheers!
 *  Thread Starter [arbe-vanbeek](https://wordpress.org/support/users/arbe-vanbeek/)
 * (@arbe-vanbeek)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121361)
 * Hi, thanks for your quick reply.
 * The website is [http://www.activestockmanagement.com](http://www.activestockmanagement.com).
   Your plugin is used together with the gText Widget for the translation to the
   other languages on our website. A lot of styling has been done by an external
   developer and I don’t have the CSS skills to fix this.
 *  [Biranit](https://wordpress.org/support/users/biranit/)
 * (@biranit)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121373)
 * The new version stores in the database with option_name widget_category-posts
   while previously it was widget_categoryposts
 * So obviously ANYONE who upgrades the plugin will lose their widgets.
 * What a bad, bad, bad move. Seriously. You should have at least made sure there’s
   backward compatibility, checking if option exists and renaming it accordingly.
 *  Thread Starter [arbe-vanbeek](https://wordpress.org/support/users/arbe-vanbeek/)
 * (@arbe-vanbeek)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121382)
 * [@biranit](https://wordpress.org/support/users/biranit/): Do you know if the 
   renaming of the columns in the database is enough to make the plugin work again,
   like it did before the update?
 *  [Biranit](https://wordpress.org/support/users/biranit/)
 * (@biranit)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121384)
 * [@arbe-vanbeek](https://wordpress.org/support/users/arbe-vanbeek/):
 * I am not sure, because I only realized what he did _after_ discovering the widgets
   have disappeared and rebuilding them…
 * But try it out! I got a feeling it will fix it, and if you don’t have the widgets
   then you really have nothing to lose by trying this, at this point…
 * `UPDATE wp_options SET option_name='widget_category-posts' WHERE option_name='
   widget_categoryposts'`
 * (Obviously don’t do this if you don’t know your way around MySQL etc…)
 *  [Biranit](https://wordpress.org/support/users/biranit/)
 * (@biranit)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121386)
 * By the way, it’s extremely rare that I criticize a developer who is giving something
   for free to the community. It’s ungrateful.
 * But this is such a huge failure, with implications for thousands of websites,
   that I find the negligence shocking.
 * [@mrinal](https://wordpress.org/support/users/mrinal/) Kanti Roy: it would have
   been better if you launched a new plugin called “Category Posts Widget Redux”
   or something, because you just cannot make such a fundamental change without 
   taking care of backward compatibility. If your upgrade erases the widget, then
   this is not an upgrade — it’s a clean install!
 * It’s not too late. Add a backward compatibility with a $wpdb query to update 
   the wp_options table (see my above post) and at least those who have not upgraded
   yet won’t get so badly affected.
 *  Plugin Author [Mrinal Roy](https://wordpress.org/support/users/mkrdip/)
 * (@mkrdip)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121388)
 * Hi There,
 * Yes, I’ll do that within the upcoming weekend. Please wait until I manage the
   time.
 * Thanks!
 *  [Biranit](https://wordpress.org/support/users/biranit/)
 * (@biranit)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121389)
 * Good luck! I’m sorry we’re all angry at you 🙂
 *  [gmariani405](https://wordpress.org/support/users/gmariani405/)
 * (@gmariani405)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121408)
 * I’m not, that was a rookie mistake that broke a TON of sites. His reply: “just
   update your site. Good luck, have fun!”
 *  [pixeldrummer](https://wordpress.org/support/users/pixeldrummer/)
 * (@pixeldrummer)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121533)
 * OK, so I am not alone. Interesting to note that not all sites are affected by
   disappearing widgets, I have a site built on an older version of Thesis, on that
   site the widgets stayed put. It’s interesting to note that the failure of this
   update shows in different ways for different themes.
 * I am not angry, what’s the point? I’ve used this plugin in its various versions
   for years and I am thankful for it. Just don’t do it again! 🙂
 *  Thread Starter [arbe-vanbeek](https://wordpress.org/support/users/arbe-vanbeek/)
 * (@arbe-vanbeek)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121534)
 * [@mrinal](https://wordpress.org/support/users/mrinal/) Kanti Roy: Were you able
   to make the changes/updates to the plugin?
 *  [jdroyer](https://wordpress.org/support/users/jdroyer/)
 * (@jdroyer)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121540)
 * Bump for the changes, but I’m also wondering if arbe-vanbeek or Biranit had success
   updating the wp_options record?
 *  [Emily](https://wordpress.org/support/users/ebloss/)
 * (@ebloss)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121541)
 * Well. I tried updating wp_options and it didn’t seem to work. I’m guessing the
   format of the options has changed and so it is not compatible. Off to rebuild
   all of my widgets!
 *  Thread Starter [arbe-vanbeek](https://wordpress.org/support/users/arbe-vanbeek/)
 * (@arbe-vanbeek)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121545)
 * Well the wp_options seems to have worked so that it is working again. However
   I need my Theme styling (CSS) to take over. Now the styling of the widget seems
   to be leading.
 * Anyone any idea how to do this?
 *  [Biranit](https://wordpress.org/support/users/biranit/)
 * (@biranit)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/undo-installation-40/#post-5121546)
 * the wp_options renaming works for me.
 * [@arbe-vanbeek](https://wordpress.org/support/users/arbe-vanbeek/): not a very
   useful solution, but like you I wanted the styelsheet off. So I edited the plugin(
   you can do that via Plugin -> Editor) and commented out line 17:
 * `// add_action( 'wp_enqueue_scripts', 'category_posts_widget_styles' );`
 * (added // at the start of the line)
 * I also added, on line 3, on the plugin’s description, a note to myself — so that
   if I see an upgrade for the plugin, I’ll remember to comment out the stylesheet
   again:
 * `Description: (MODIFIED: REMOVED STYLESHEET) Adds a widget that shows the most
   recent posts from a single category.`
 * I hope in future versions, though, the inclusion of the stylesheet will be an
   OPTION.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/undo-installation-40/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/undo-installation-40/page/2/?output_format=md)

The topic ‘Undo installation 4.0’ is closed to new replies.

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

 * 21 replies
 * 10 participants
 * Last reply from: [jayjelee](https://wordpress.org/support/users/jayjelee/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/undo-installation-40/page/2/#post-5121639)
 * Status: not resolved