Title: Widget Fixer
Author: Infragistics
Published: <strong>February 8, 2013</strong>
Last modified: April 8, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/widget-fixer.svg)

# Widget Fixer

 By [Infragistics](https://profiles.wordpress.org/infragistics/)

[Download](https://downloads.wordpress.org/plugin/widget-fixer.zip)

 * [Details](https://wordpress.org/plugins/widget-fixer/#description)
 * [Reviews](https://wordpress.org/plugins/widget-fixer/#reviews)
 *  [Installation](https://wordpress.org/plugins/widget-fixer/#installation)
 * [Development](https://wordpress.org/plugins/widget-fixer/#developers)

 [Support](https://wordpress.org/support/plugin/widget-fixer/)

## Description

Widget-fixer works by recalculating the string lengths of the widget strings and
updating
 the relevant numbers in the database so that your widgets will load again.

**Disclaimer**
 This plugin is provided “as is.” It is free software licensed under
the terms of the [GNU General Public License 2.0 (GPL)] (http://www.gnu.org/licenses/
gpl.html “GNU General Public License 2.0”). It is distributed in the hope that it
will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. Infragistics is not liable for any damages 
or losses.

## Installation

 1. Backup your database.
 2. Unzip `widget-fixer.zip` to the `/wp-content/plugins/` directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Navigate the Settings -> Widget-fixer to start fixing your widgets.

## FAQ

#### How do I get started?

It is highly recommended that you take a backup of your database before using this
plugin.

#### What does this plugin do?

Widget-fixer is very basic and really does only one thing.
 It recalculates the 
string lengths of the widget strings and updates the relevant numbers in the database
so that your widgets will work again.

#### Under what circumstances would you use this plugin?

If you update your URLs and apply the updated URLs directly to the database,
 then
any widgets with updated URLs will need to be fixed. This plugin fixes those widgets
for you so that you do not need to redo your work.

#### What if the plugin does not work?

There is still hope. Sometimes WordPress removes the corrupted portions of code 
from the database when it loads. If the plugin fails to fix your widgets, you should
try to run this from the command-line instead. There is a special way to do this.
You should use the widget-fixer-cli.php file as follows. 1. Stop your site. 2. Restore
your database. 3. Run: php -q widget-fixer-cli.php /var/www/html/wp-config.php

Replace the “/var/www/html/” with the actual path to your wp-config.php file. This
method is generally quite reliable and successful.

#### Is this supported?

No, this is a free plugin that is intended to be used at your own risk.

#### Where can I get more information about Infragistics?

http://www.infragistics.com

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Widget Fixer” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Infragistics ](https://profiles.wordpress.org/infragistics/)

[Translate “Widget Fixer” into your language.](https://translate.wordpress.org/projects/wp-plugins/widget-fixer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/widget-fixer/), check
out the [SVN repository](https://plugins.svn.wordpress.org/widget-fixer/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/widget-fixer/) by
[RSS](https://plugins.trac.wordpress.org/log/widget-fixer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2

 * Bug fix – Added UTF8 support for MySQL connection to correct the character count.
 * Bug fix – Reworked algorithm to enable text fields with style tags (requiring;’
   s).
 * Enhancement – Now re-serializes with built-in PHP function, rather than using
   a custom one.

#### 1.1

 * Added more widgets to fix.
 * Added a CLI feature.
 * Moved the major functions into a separate file.
 * Added the ability view the source of the widgets that are fixed.
 * Added support for themes.
 * Fixed an issue with newline characters causing incorrect string length calculations

#### 1.0

 * This is the first release.

## Meta

 *  Version **1.2**
 *  Last updated **13 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **3.5.2**
 * Tags
 * [dns](https://wordpress.org/plugins/tags/dns/)[fix](https://wordpress.org/plugins/tags/fix/)
   [serialized](https://wordpress.org/plugins/tags/serialized/)[siteurl](https://wordpress.org/plugins/tags/siteurl/)
   [widget](https://wordpress.org/plugins/tags/widget/)[widgets](https://wordpress.org/plugins/tags/widgets/)
 *  [Advanced View](https://wordpress.org/plugins/widget-fixer/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/widget-fixer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/widget-fixer/reviews/)

## Contributors

 *   [ Infragistics ](https://profiles.wordpress.org/infragistics/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/widget-fixer/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.infragistics.com/)