Title: Fatal error in widgets.php
Last modified: August 18, 2016

---

# Fatal error in widgets.php

 *  [bahcevan](https://wordpress.org/support/users/bahcevan/)
 * (@bahcevan)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-in-widgetsphp/)
 * Hi all,
    I have made some changes to my options menu in dashboard and now my 
   sidebar widgets are all screwed up. It shows the following error message: (www.
   cafefernando.com)
 * Fatal error: Cannot use string offset as an array in /home/cafeson6/public_html/
   wp-content/plugins/widgets/widgets.php on line 829
 * I checked the line and it has the following code:
 * $title = $options[$number][‘title’];
 * Please help.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Bentrem](https://wordpress.org/support/users/bentrem/)
 * (@bentrem)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-widgetsphp/#post-613787)
 * Geeez … this guy posted 3 months ago and got no reply. Am I outta luck?
 * V2.3.1, Acitivating SideBar Widgets produces the following:
 * “Plugin could not be activated because it triggered a fatal error.”
 * Error text is as follows:
    “Fatal error: Cannot redeclare register_sidebars()(
   previously declared in [correct directories here]/blog/wp-includes/widgets.php:
   15) in [correct directories here]/wp-content/plugins/widgets/widgets.php on line
   42”
 * Everything has been working fine, but I want to install MyBlogLog widget … which
   requires that this be activated …
 * ‘Sup?
 * –bentrem
    bentrem.sycks.net/blog/
 *  [Adam Brown](https://wordpress.org/support/users/adamrbrown/)
 * (@adamrbrown)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-widgetsphp/#post-613788)
 * You shouldn’t need the sidebar widgets plugin in any recent version of WP–it’s
   become part of the core WP code.
 * Hence the error–you’re trying to redeclare functions that have been declared 
   already.
 *  [Arash](https://wordpress.org/support/users/john25/)
 * (@john25)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-widgetsphp/#post-613795)
 * I have the same error without using a sidebar widget plugin.
 * I upgraded from 2.2 to 2.3.2 and got this error
 *  [Adam Brown](https://wordpress.org/support/users/adamrbrown/)
 * (@adamrbrown)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-widgetsphp/#post-613803)
 * [@john](https://wordpress.org/support/users/john/):
 * You’ve probably worked this out by now, but I was going looking through my profile
   and saw that you had responded.
 * If you are having exactly the same error, then I guarantee you that you have 
   the sidebar widget plugin installed. Read the text of the error (note the boldface
   part):
 * Fatal error: Cannot redeclare register_sidebars() (previously declared in [correct
   directories here]/blog/wp-includes/widgets.php:15) in [correct directories here]/**
   wp-content/plugins/widgets/widgets.php** on line 42
 *  [Arash](https://wordpress.org/support/users/john25/)
 * (@john25)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-widgetsphp/#post-613808)
 * Mu problem was fixed by deleting
 * define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);
 * in wp-config.php

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error in widgets.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [Arash](https://wordpress.org/support/users/john25/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-in-widgetsphp/#post-613808)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
