Title: JavaScript Error
Last modified: March 23, 2020

---

# JavaScript Error

 *  Resolved [Morshed Alam](https://wordpress.org/support/users/sumon1068/)
 * (@sumon1068)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-175/)
 * Hi there,
 * I am having JavaScript error at [https://weloveblogging.com/wp-content/themes/vmag/js/vmag-custom.js?ver=1.1.6.1560616008](https://weloveblogging.com/wp-content/themes/vmag/js/vmag-custom.js?ver=1.1.6.1560616008)
 * It’s saying “vmag-custom.js?ver=1.1.6.1560616008:150 Uncaught TypeError: Cannot
   set property ‘innerHTML’ of null”
 * /*Time*/
    var myVar = setInterval(function() { vmagTime(); }, 100);
 *  function vmagTime() {
    var d = new Date(); document.getElementById(“time”).innerHTML
   = d.toLocaleTimeString(); }
 * Open attached file to view the problem: [https://weloveblogging.com/untitled/](https://weloveblogging.com/untitled/)
 * I don’t know JavaScript. Let me know what to do.
 * Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-175%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Access Keys (Alson)](https://wordpress.org/support/users/alsonthakuri/)
 * (@alsonthakuri)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-175/#post-12577725)
 * Hi [@sumon1068](https://wordpress.org/support/users/sumon1068/)
 * Thank you for writing in.
 * The issue has been solved. Please update your theme.
 * Please do contact us if the issue is still persisting.
 * Regards!
 *  Thread Starter [Morshed Alam](https://wordpress.org/support/users/sumon1068/)
 * (@sumon1068)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-175/#post-12579665)
 * Thank you [@alsonthakuri](https://wordpress.org/support/users/alsonthakuri/) 
   for quick reply.
    I’ve updated the theme and the problem gone. But one error 
   remains. Would you mind take a look at that? It says:
 * Uncaught ReferenceError: WowOption is not defined
    at HTMLDocument.<anonymous
   > (vmag-custom.js?ver=1.1.6.1560616008:120) 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)
 * Screenshot: [https://weloveblogging.com/untitled-2/](https://weloveblogging.com/untitled-2/)
 * Thank you.
 *  [Access Keys (Alson)](https://wordpress.org/support/users/alsonthakuri/)
 * (@alsonthakuri)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-175/#post-12582184)
 * Hi [@sumon1068](https://wordpress.org/support/users/sumon1068/)
 * Thank you for writing back.
 * We have checked your site and didn’t find any errors that you are mentioning.
   As we have already fixed the issue, Please check your site and confirm.
 * Regards!
 *  Thread Starter [Morshed Alam](https://wordpress.org/support/users/sumon1068/)
 * (@sumon1068)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-175/#post-12582307)
 * Hi,
 * This problem only occurs when I’m logged in to my website.
 * As you were not logged in, you couldn’t find that problem.
 * You may log in to see.
    [https://weloveblogging.com/wp-admin](https://weloveblogging.com/wp-admin)
   Username: accesspress Password: @errorremover
 * Thank you.
 *  [Access Keys (Alson)](https://wordpress.org/support/users/alsonthakuri/)
 * (@alsonthakuri)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-175/#post-12591165)
 * Hi [@sumon1068](https://wordpress.org/support/users/sumon1068/)
 * Thank you for writing back.
 * We are checking on this issue and we let you know after a possible solution.
 * Regards!
 *  Thread Starter [Morshed Alam](https://wordpress.org/support/users/sumon1068/)
 * (@sumon1068)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-175/#post-12592154)
 * Hi,
 * I don’t know how but it seems that the problem is gone.
 * Maybe it was a plugin conflict which has been solved maybe after plugin update.
 * Thank you.
 *  [Access Keys (Alson)](https://wordpress.org/support/users/alsonthakuri/)
 * (@alsonthakuri)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-175/#post-12600045)
 * Hi [@sumon1068](https://wordpress.org/support/users/sumon1068/)
 * Thank you for writing in.
 * We are glad that your issue has been solved. Please do contact us if you have
   any other issues regarding the theme.
 * Regards!

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

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

 * ![](https://i0.wp.com/themes.svn.wordpress.org/vmag/1.2.8/screenshot.png)
 * VMag
 * [Support Threads](https://wordpress.org/support/theme/vmag/)
 * [Active Topics](https://wordpress.org/support/theme/vmag/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/vmag/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/vmag/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Access Keys (Alson)](https://wordpress.org/support/users/alsonthakuri/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-175/#post-12600045)
 * Status: resolved