Forums

Fatal Error in Widgets (3 posts)

  1. Monarch
    Member
    Posted 2 years ago #

    I have installed word press and the sidebar widgets. I am unable to access the sidebar in the presentation section. I am using the default theme.

    I installed a program – Event calendar 3 – that needs the sidebar widget and got this error.

    Fatal error: Cannot redeclare register_sidebars() (previously declared in /home/monarchh/public_html/wordpress/wp-content/plugins/widgets/widgets.php:22) in /home/monarchh/public_html/wordpress/wp-content/plugins/widgets/widgets.php on line 22

    How can I solve this?

  2. mao109
    Member
    Posted 2 years ago #

    You need to have a functions.php available in your theme. I just changed a theme that does not support widgets. I first downloaded widget from:

    http://automattic.com/code/widgets/

    The README.txt provides a recipe to do that. It shows how to write a functions.php and make a minor change in sidebar.php. Once done the sidebar widget will show up in edit scheme menu.

  3. Monarch
    Member
    Posted 2 years ago #

    i did that and it worked.

Topic Closed

This topic has been closed to new replies.

About this Topic