Title: &#8220;Uncaught Reference&#8221; error in console
Last modified: March 28, 2019

---

# “Uncaught Reference” error in console

 *  Resolved [Maurizio](https://wordpress.org/support/users/digitaldomainitaly/)
 * (@digitaldomainitaly)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/uncaught-reference-error-in-console/)
 * when I create (or modify an existing form) i find the following error in console:
 *     ```
       Uncaught ReferenceError: wp is not defined at
       http://example.com/wp-admin/customize.php?return=http%3A%2F%2Fexample.com%2Fwp-admin%2Fedit.php%3Fpost_type%3Dhappyform&happyforms=1&form_id=0
       ```
   
 * this generates bad behavior in the subsequent modification, perhaps it is a conflict
   with “customize” or other plug-in?
 * System info:
    Google Chrome v. 73.0.3683.86 – 64 bit
 * WordPress version : 5.1.1
    Activated Theme : Astra PHP version : 7.3.3-1+ubuntu18.04.1
   +deb.sury.org+1 PHP GD : Loaded (V2) PHP Open SSL : Loaded PHP HTTP Wrapper :
   Found PHP HTTPS Wrapper : Found HTTPS Mismatch : None PHP Config[allow_url_fopen]:
   1 PHP Config[allow_url_include] : 1
 * Active Plugins : Array
    ( [0] => astra-bulk-edit/astra-bulk-edit.php [1] => astra-
   widgets/astra-widgets.php [2] => foobox-image-lightbox/foobox-free.php [3] =>
   foogallery/foogallery.php [4] => happyforms/happyforms.php [5] => nginx-helper/
   nginx-helper.php [6] => redis-cache/redis-cache.php [7] => scroll-top/scroll-
   top.php [8] => smart-slider-3/smart-slider-3.php [9] => ultimate-addons-for-gutenberg/
   ultimate-addons-for-gutenberg.php [10] => wordpress-seo/wp-seo.php )

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

 *  [thethemefoundry](https://wordpress.org/support/users/thethemefoundry/)
 * (@thethemefoundry)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/uncaught-reference-error-in-console/#post-11368772)
 * Hey [@digitaldomainitaly](https://wordpress.org/support/users/digitaldomainitaly/)
   👋
 * That sure sounds like a plugin conflict. Would you do a huge favour for us and
   try disabling all those other plugins for a minute or so and see if that helps?
 * Please let us know if you can spot which plugin might be causing this problem
   and we can see what we can do fix this up!
 * Thanks! Keep us posted.
    -  This reply was modified 7 years, 2 months ago by [thethemefoundry](https://wordpress.org/support/users/thethemefoundry/).
 *  Thread Starter [Maurizio](https://wordpress.org/support/users/digitaldomainitaly/)
 * (@digitaldomainitaly)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/uncaught-reference-error-in-console/#post-11369549)
 * in order:
    I have disabled all plug-ins same problem
 * tried Firefox
    same problem
 * ReferenceError: wp is not defined
    customize.php: 3337: 11
 * http:/example.com/wp-admin/customize.php?return=http://example.com/wp-admin/edit.
   php?post_type=happyform&happyforms=1&form_id=305#build:3337
 *  [thethemefoundry](https://wordpress.org/support/users/thethemefoundry/)
 * (@thethemefoundry)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/uncaught-reference-error-in-console/#post-11382074)
 * Hey [@digitaldomainitaly](https://wordpress.org/support/users/digitaldomainitaly/),
 * We’re sorry for not getting back to you earlier. We investigated this and were
   able to replicate the same issue on our end. The error appears to have roots 
   in Astra theme script that’s binding to `wp` object which is defined later in
   HappyForms than it is in standard Customizer.
 * While we can confirm error being present in HappyForms UI, we’re still able to
   use all form builder features. The theme script appears to only be used for some
   font family rendering purposes which shouldn’t have any impact on how HappyForms
   works. Would you mind listing some specific things that are not working for you?
   We’d love to have a closer look and help.
 * Let us know! 🙂

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

The topic ‘“Uncaught Reference” error in console’ is closed to new replies.

 * ![](https://ps.w.org/happyforms/assets/icon-256x256.png?rev=2778164)
 * [Happyforms - Form Builder for WordPress: Drag & Drop Contact Forms, Surveys, Payments & Multipurpose Forms](https://wordpress.org/plugins/happyforms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/happyforms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/happyforms/)
 * [Active Topics](https://wordpress.org/support/plugin/happyforms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/happyforms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/happyforms/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [thethemefoundry](https://wordpress.org/support/users/thethemefoundry/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/uncaught-reference-error-in-console/#post-11382074)
 * Status: resolved