Title: Uncaught ReferenceError: wp is not defined at widgets.php
Last modified: April 11, 2017

---

# Uncaught ReferenceError: wp is not defined at widgets.php

 *  Resolved [schokoadmin](https://wordpress.org/support/users/schokoadmin/)
 * (@schokoadmin)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-wp-is-not-defined-at-widgets-php/)
 * Hello,
 * running the latest plugin (version 3.0.4) with the latest WordPress (4.7.3).
 * The widgets dashboard loads very slowly – and after its completely loaded, I 
   can not modify any widgets.
 * console shows:
    `Uncaught ReferenceError: wp is not defined at widgets.php:379`
 * So some js is not loaded?!

Viewing 1 replies (of 1 total)

 *  Thread Starter [schokoadmin](https://wordpress.org/support/users/schokoadmin/)
 * (@schokoadmin)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-wp-is-not-defined-at-widgets-php/#post-9018460)
 * Disabling all plugins one by one reveals another suspect:
 * SAM PRO Lite seems to be responsible for the error. I will contact them and this
   can be closed.
 * To future readers: Check other plugins first!
    -  This reply was modified 9 years, 2 months ago by [schokoadmin](https://wordpress.org/support/users/schokoadmin/).

Viewing 1 replies (of 1 total)

The topic ‘Uncaught ReferenceError: wp is not defined at widgets.php’ is closed 
to new replies.

 * ![](https://ps.w.org/custom-sidebars/assets/icon-256x256.png?rev=1414065)
 * [Custom Sidebars - Dynamic Sidebar Classic Widget Area Manager](https://wordpress.org/plugins/custom-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-sidebars/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [schokoadmin](https://wordpress.org/support/users/schokoadmin/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-wp-is-not-defined-at-widgets-php/#post-9018460)
 * Status: resolved