• Resolved Maurizio

    (@digitaldomainitaly)


    when I create (or modify an existing form) i find the following error in console:

    Uncaught ReferenceError: wp is not defined at
    https://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)
  • Hey @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.

    Thread Starter Maurizio

    (@digitaldomainitaly)

    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=https://example.com/wp-admin/edit.php?post_type=happyform&happyforms=1&form_id=305#build:3337

    Hey @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.