Title: WP Give shortcode javascript error
Last modified: February 1, 2022

---

# WP Give shortcode javascript error

 *  Resolved [jchesterc](https://wordpress.org/support/users/jchesterc/)
 * (@jchesterc)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wp-give-shortcode-javascript-error/)
 * I have encountered an error when using shortcode (with or without shortcode options).
 * Javascript error
 * give.js?ver=2.18.0:1 Uncaught TypeError: Cannot read properties of null (reading‘
   style’)
    at i (give.js?ver=2.18.0:1:20412) at give.js?ver=2.18.0:1:20294
 * Specifically
    n.querySelector(“.iframe-loader”).style.opacity=0, n.querySelector(“.
   iframe-loader”).style.transition=”opacity 0.2s ease”
 * Version 2.18.0
 * These two query selector results are null.
    I have clean page no plugin conflicts
   etc.
 * Any ideas?
    -  This topic was modified 4 years, 4 months ago by [jchesterc](https://wordpress.org/support/users/jchesterc/).

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

 *  Plugin Support [Rick Alday](https://wordpress.org/support/users/mrdaro/)
 * (@mrdaro)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wp-give-shortcode-javascript-error/#post-15320537)
 * Hi [@jchesterc](https://wordpress.org/support/users/jchesterc/),
 * Happy to help.
 * I have a multistep form embedded on this page: [https://test.rickalday.com/donate-now/](https://test.rickalday.com/donate-now/)
   
   There are no JS errors.
 * What’s the link to your form page so we can check it out?
 *  Thread Starter [jchesterc](https://wordpress.org/support/users/jchesterc/)
 * (@jchesterc)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wp-give-shortcode-javascript-error/#post-15320544)
 * [https://tychejestastie.sk/vyzvy/vlcata-sk/](https://tychejestastie.sk/vyzvy/vlcata-sk/)
 * Here,
 * I tried to embed it manually and via content editor, same thing.
 *  Plugin Support [Rick Alday](https://wordpress.org/support/users/mrdaro/)
 * (@mrdaro)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wp-give-shortcode-javascript-error/#post-15320556)
 * Thanks. The console also says that “wp is not defined”. This is usually caused
   by minifying JS files. I noticed that you are using Breeze cache. Can you temporarily
   disable it and test it again?
 *  Thread Starter [jchesterc](https://wordpress.org/support/users/jchesterc/)
 * (@jchesterc)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/wp-give-shortcode-javascript-error/#post-15320657)
 * Yes sure, I forgot,
 * Page is still in staging mode. Breeze off, cache deleted.
 *  Plugin Support [Rick Alday](https://wordpress.org/support/users/mrdaro/)
 * (@mrdaro)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wp-give-shortcode-javascript-error/#post-15372735)
 * Hi [@jchesterc](https://wordpress.org/support/users/jchesterc/),
 * I noticed that you are using a legacy form template now.
    Did the Multi-step 
   form template ever work without cache?
 * You can also test for incompatibility with either a third-party plugin or the
   active theme on your site.
 * An excellent troubleshooting tool that we have at our disposal is a plugin called
   Health Check. I use it when I am trying to find an issue.
    [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
 * We have an article with a video of how to walk you through getting set up and
   how to use it.
    [https://givewp.com/documentation/resources/troubleshoot-wordpress-websites-health-check/](https://givewp.com/documentation/resources/troubleshoot-wordpress-websites-health-check/)
 * Outlined are the steps to take to find the issue:
 * 1. When you enable troubleshooting mode, it will deactivate all of the active
   plugins and make the theme of your site Twenty Nineteen. You can feel safe knowing
   that your users will still only be viewing your live site.
    2. Only activate 
   Give and its add ons from the dropdown at the top of the admin panel. 3. Attempt
   to load the multi-step form again. 4. If it resolves you know that the issue 
   is either the theme or a plugin. Start by re-enabling your theme, and then going
   through the plugins one at a time. Once the issue returns you have found the 
   culprit.
 * Once you find the problem let me know what it was and I will assist you further.
 * Have a great rest of your day!
 *  Plugin Support [Matheus Martins](https://wordpress.org/support/users/matheusfd/)
 * (@matheusfd)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wp-give-shortcode-javascript-error/#post-15386654)
 * Hi, [@jchesterc](https://wordpress.org/support/users/jchesterc/).
 * Do you still need assistance here? I’ll close this ticket for now but if you 
   still need assistance with it, please reopen it and we’ll happily assist you.
 * If you have other issues, you can open a new ticket and we’ll help you there 
   too.
 * Thanks for using GiveWP! Have a great day.
 *  Thread Starter [jchesterc](https://wordpress.org/support/users/jchesterc/)
 * (@jchesterc)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/wp-give-shortcode-javascript-error/#post-15386664)
 * After your advice and further investigation the problem was indeed the multistep
   form.
 * When switching to normal form everything is working nice.
 * Thank you and have a nice day.

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

The topic ‘WP Give shortcode javascript error’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [WP Give](https://wordpress.org/support/topic-tag/wp-give/)

 * 7 replies
 * 3 participants
 * Last reply from: [jchesterc](https://wordpress.org/support/users/jchesterc/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/wp-give-shortcode-javascript-error/#post-15386664)
 * Status: resolved