debug.info is not a function

Home Forums Calendar Products Events Calendar PRO debug.info is not a function

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1439550
    Lou
    Participant

    With theeventscalendar 4.6.10.1 I am seeing a new error on one of my pages (https://steeplechasers.org/training/running-routes). Not sure why this is not happening on other pages, but it looks like the minimization of the javascript file tribe-events.min.js wasn’t complete.

    When I format the js file through chrome {} I see this error on line 585.

    The line is

    d && debug.info("TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js."),

    so I think should be

    d && d.info("TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js."),

    #1439555
    Lou
    Participant

    definitely looks like bug, in tribe-events.js line 1320

    dbug && debug.info( 'TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js.' );

    #1439560
    Lou
    Participant

    Seems like theeventscalendar has a new global variable “debug” which was incompatible with a theme variable of the same name. When the theme javascript for this page loaded, the “debug” variable was overwritten which caused the error in theeventscalendar.

    I’ve renamed the theme variable which resolved the problem.

    • This reply was modified 8 years, 2 months ago by Lou.
    #1439608

    Glad you were able to resolve your issue, you are welcome back in our support forums any time!

    Since you marked this thread as Resolved, I am going to close this thread.

    Have a great week!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘debug.info is not a function’ is closed to new replies.