• 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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:

    https://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.

    Thread Starter Monarch

    (@monarch)

    i did that and it worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error in Widgets’ is closed to new replies.