Title: Widgets screen &gt; TypeError: DependencyManager is not a constructor
Last modified: June 29, 2020

---

# Widgets screen > TypeError: DependencyManager is not a constructor

 *  [Tim de Hoog](https://wordpress.org/support/users/tim_nl/)
 * (@tim_nl)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/widgets-screen-typeerror-dependencymanager-is-not-a-constructor/)
 * After I have installed Phlox 2.5.9 I get the following JS error:
    TypeError: 
   DependencyManager is not a constructor
 * Now I can’t add, edit or remove my widgets anymore.
 * Can you solve this problem? Thank you.

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

 *  [Saulo Padilha](https://wordpress.org/support/users/spadilha/)
 * (@spadilha)
 * [6 years ago](https://wordpress.org/support/topic/widgets-screen-typeerror-dependencymanager-is-not-a-constructor/#post-12885861)
 * [@tim_nl](https://wordpress.org/support/users/tim_nl/) I’ve managed to change
   my widgets using the customize panel at /wp-admin/customize.php
    -  This reply was modified 6 years ago by [Saulo Padilha](https://wordpress.org/support/users/spadilha/).
 *  Thread Starter [Tim de Hoog](https://wordpress.org/support/users/tim_nl/)
 * (@tim_nl)
 * [6 years ago](https://wordpress.org/support/topic/widgets-screen-typeerror-dependencymanager-is-not-a-constructor/#post-12905987)
 * [@spadilha](https://wordpress.org/support/users/spadilha/), I have temporary 
   disabled the code as shown below:
 *     ```
       var manager = new DependencyManager( $wrapper, {
       	fieldContainer : '.aux-element-field',
       	fieldMapper    : auxDependencyFieldMapper,
       	observerMapper : auxDependencyFieldMapper
       } , deps );
   
       manager.setup();
       ```
   
 * You will find it in /themes/phlox/auxin/js/scripts.js on row 1977.

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

The topic ‘Widgets screen > TypeError: DependencyManager is not a constructor’ is
closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/phlox/2.17.12/screenshot.png)
 * Phlox
 * [Support Threads](https://wordpress.org/support/theme/phlox/)
 * [Active Topics](https://wordpress.org/support/theme/phlox/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/phlox/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/phlox/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [Tim de Hoog](https://wordpress.org/support/users/tim_nl/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/widgets-screen-typeerror-dependencymanager-is-not-a-constructor/#post-12905987)
 * Status: not resolved