Title: Javascript Error
Last modified: August 25, 2020

---

# Javascript Error

 *  Resolved [nilssonc](https://wordpress.org/support/users/nilssonc/)
 * (@nilssonc)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-183/)
 * When weForms Pro is active, I get a javascript error:
 * Uncaught TypeError: Cannot read property ‘getContext’ of null
    at new d (weforms-
   pro.min.js?ver=1.4.9:1) at HTMLDocument.<anonymous> (weforms-pro.min.js?ver=1.4.9:
   1) at i (jquery.js?ver=1.12.4-wp:2) at Object.fireWith [as resolveWith] (jquery.
   js?ver=1.12.4-wp:2) at Function.ready (jquery.js?ver=1.12.4-wp:2) at HTMLDocument.
   J (jquery.js?ver=1.12.4-wp:2)
 * That causes the jquery controlling the sticky header. The logo is supposed to
   resize and background color change to white when you start scrolling, but the
   jquery is not working to make that happen. Only happens on page with weforms (
   home page is fine for example), and only when weForms Pro is installed.
 * Tried enabling No Conflict mode to no avail.
 * Anything you/I can do?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-183%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [wvsupport](https://wordpress.org/support/users/wvsupport/)
 * (@wvsupport)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-183/#post-13333230)
 * Hi [@nilssonc](https://wordpress.org/support/users/nilssonc/) – I wanted to let
   you know that I have acknowledge your inquiry here, but I have to run it my colleague
   to get you some more information. We are back in the office on Monday. Thanks
   for your patience!
 *  [Elana Davis](https://wordpress.org/support/users/elanasparkle/)
 * (@elanasparkle)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-183/#post-13340446)
 * Hello [@nilssonc](https://wordpress.org/support/users/nilssonc/),
 * Thank you for reaching out, and I was taking a look at the code you provided.
   I was not able to get the error to replicate. I even posted on the “Get A Free
   Quote” form to make sure there were no execution issues.
 * I did see syntax errors on that page, and it looks like there is a java syntax
   error on line 25 of the main.js file. It is causing some issues with the java
   on that page.
 * /wp-content/themes/guthman/js/main.js?ver=5.5
 * Can you provide more information on how to replicate the issue you are seeing,
   and I would be happy to test further?
 * Thanks
    Elana D.

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

The topic ‘Javascript Error’ is closed to new replies.

 * ![](https://ps.w.org/weforms/assets/icon-256x256.png?rev=1978687)
 * [weForms - Easy Drag & Drop Contact Form Builder For WordPress](https://wordpress.org/plugins/weforms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/weforms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/weforms/)
 * [Active Topics](https://wordpress.org/support/plugin/weforms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/weforms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/weforms/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Elana Davis](https://wordpress.org/support/users/elanasparkle/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/javascript-error-183/#post-13340446)
 * Status: resolved