Forums

widgets (2 posts)

  1. organicg
    Member
    Posted 2 years ago #

    I had a widget problem and
    a new
    developer come in after my original one. The error you were getting on widgets.php was: Fatal error: Cannot redeclare register_sidebars() in /home/organicg/public_html/wp-content/plugins/widgets.php on line 16. The next developer, just came in and wrapped all the widget functions with if (!function_exists(_function name_)) { ... }
    The widget availabilty seems to have disappeared from the
    presentation area.
    Can anyone help as to how I get it back?
    thank you!

  2. MichaelH
    moderator
    Posted 2 years ago #

    You blog is at 2.2.3 so there should be no widget.php file in the wp-content/plugins folder. Widgets are part of the native WordPress ability and the file widgets.php is in wp-includes.

    If you are using the Sidebar Widget plugin, it should be deactivated and all the related files to that plugin should be deleted.

Topic Closed

This topic has been closed to new replies.

About this Topic