• Resolved Mounir

    (@jinan2020)


    Hi there

    Thanks for this helpful plugin.

    In my website, a JS error log is showing

    Uncaught TypeError: elem.form is null
        <anonymous> https://######/wp-content/plugins/duracelltomi-google-tag-manager/js/gtm4wp-form-move-tracker.js?ver=1.14.1:11
        EventListener.handleEvent* https://######/wp-content/plugins/duracelltomi-google-tag-manager/js/gtm4wp-form-move-tracker.js?ver=1.14.1:1
    gtm4wp-form-move-tracker.js:11:4
        <anonymous> https://#######/wp-content/plugins/duracelltomi-google-tag-manager/js/gtm4wp-form-move-tracker.js?ver=1.14.1:11
        (Async: EventListener.handleEvent)
        <anonymous> https://#######/wp-content/plugins/duracelltomi-google-tag-manager/js/gtm4wp-form-move-tracker.js?ver=1.14.1:1

    Its showing in pages that has forms in

    Any help is appretiated

    • This topic was modified 2 years, 10 months ago by Mounir.
    • This topic was modified 2 years, 10 months ago by Mounir.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    A new bugfix version will be released soon which should also fix this issue.
    Let me know what happened after the update to v1.14.2

    Thread Starter Mounir

    (@jinan2020)

    @duracelltomi
    Thanks for your time,

    It seems that the error stopped showing ??

    But a warning is showing up:

    
    Loading failed for the <script> with source “https://www.googletagmanager.com/gtm.js?id=##########”.
    
    Loading failed for the <script> with source “https://www.googletagmanager.com/gtag/js?id=#######”.
    
    • This reply was modified 2 years, 10 months ago by Mounir.
    Plugin Author Thomas Geiger

    (@duracelltomi)

    Could you post the URL of your site?

    Thread Starter Mounir

    (@jinan2020)

    Well, It seems it was a caching issue as the error is not showing anymore

    Will set this issue as resolved

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JS error showing in console’ is closed to new replies.