Title: WP 3.1 Admin Publish Widget/Sidebar Widget &#8211; JavaScript Error
Last modified: August 19, 2016

---

# WP 3.1 Admin Publish Widget/Sidebar Widget – JavaScript Error

 *  Resolved [Kase](https://wordpress.org/support/users/kase/)
 * (@kase)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/wp-31-admin-publish-widgetsidebar-widget-javascript-error/)
 * Just to help out other WordPress 3.1 users.
 * I had a JavaScript error in both IE8 and F/F 3.6.14 when I logged in to edit 
   a post/page or update/add a sidebar Widget.
 * I was unable to expand/contract Post/Page widget headers, or expand the “Status
   Published”, “Published on” links. I couldn’t click and drag sidebar widgets either…
   There was a JavaScript error in the status bar (IE8) as follows:
 * a.widget.prototype._trigger is undefined
 * The solution was to follow the “[Resetting Plugins](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)”
   in phpMyAdmin
 * Use phpMyAdmin
    1. In the table wp_options, under the option_name column (field)
   find the active_plugins row 2. Change the option_value field to: a:0:{}
 * However, I needed to double check the issue so I coppied and saved the old data
   in Notepad from wp_options > active_plugins. Then after replacing the content
   with a:0:{} and saving the changes in the Database the JavaScript error was still
   there.
 * I pasted the old data back into the active_plugins field and saved the changes
   again… PRESTO! Back to normal and no js errors!
 * Hope this helps you out too.
    Cheers

The topic ‘WP 3.1 Admin Publish Widget/Sidebar Widget – JavaScript Error’ is closed
to new replies.

## Tags

 * [widget errors](https://wordpress.org/support/topic-tag/widget-errors/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Kase](https://wordpress.org/support/users/kase/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/wp-31-admin-publish-widgetsidebar-widget-javascript-error/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
