• Resolved thedigitalmuse

    (@thedigitalmuse)


    I’m getting a bunch of debug messages in the Developer Tools console from tribe-events.min.js?ver=4.2.1:1

    Debug is unchecked in Events Calendar settings, and I’ve got WP_DEBUG set to false in my wp-config.

    How can I turn these debug messages off?

    Here are some when I load the events page:

    tribe-events.min.js?ver=4.2.1:formatted:23[“TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.js.”]
    tribe-events.min.js?ver=4.2.1:formatted:13TEC Debug: Browser and events settings information:
    tribe-events.min.js?ver=4.2.1:formatted:23[“Live ajax returned its state as: “true”]
    tribe-events.min.js?ver=4.2.1:formatted:23[“Tribe js detected the view to be: “month”]
    tribe-events.min.js?ver=4.2.1:formatted:23[“Supports pushstate: “true”]
    tribe-events.min.js?ver=4.2.1:formatted:23[“TEC Debug: tribe-events.js successfully loaded”]
    tribe-events.min.js?ver=4.2.1:formatted:23[“TEC Debug: tribe-events-bar.js successfully loaded”]
    tribe-events.min.js?ver=4.2.1:formatted:23[“TEC Debug: tribe-events-ajax-calendar.js successfully loaded, Tribe Events Init finished”]
    tribe-events.min.js?ver=4.2.1:formatted:13Tribe JS Init Timer: 32.255ms

    https://wordpress.org/plugins/the-events-calendar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @thedigitalmuse,

    Thanks for stopping by! No worries regarding these messages–they’re simply debug messages output by the JS portions of The Events Calendar, and in your case they’re simply confirming that things are working as they should! You’re free to simply disregard these unless you’re noticing any other problems with your site. 🙂

    Let me know if you should have any other questions!

    Thread Starter thedigitalmuse

    (@thedigitalmuse)

    Well I figured that. 🙂 But is there anyway to turn them off unless we have debug turned on for the events calendar? They make it harder to see my own debug messages or quickly spot when there are errors in the console to deal with on the site I’m developing. Thanks!

    I’m afraid there’s no way to hide these messages for the time being–so sorry for the trouble! This is something we’re exploring feature-wise for a future release, but I’m afraid we don’t have a timeline for when that functionality might be added. We’ll be sure to make mention of it in our release notes when it’s ready to debut!

    Again, sorry to be the bearer of bad news–but please do let us know if there’s anything else we can do for you!

    No worries – not a huge deal, but would be nice so glad it’s something on the radar. 🙂

    I swear this plugin never ceases to annoy me more and more. There’s absolutely no reason you should be outputting debug details into the console on a production site, and the fact that you have no way to disable this … is just even more disturbing. It would be very easy to add a setting, filter, or even a global JS variable to handle it, but nope you guys have other priorities … and I know this because I am a full time WordPress developer.

    Not to mention the fact that you’re outputting debug information, from a MINIFIED FILE … really … I wish I hadn’t wasted my money or time setting up a site using this plugin.

    I gotta hop on the annoyed bandwagon here. Like, why are you guys logging this stuff anyway? What benefit is it to you to log this stuff on other peoples production sites?

    My mind is boggled trying to understand why this is a thing.

    @tribecari are you able to provide Tribe’s reasoning here?

    mafudelaptu

    (@mafudelaptu)

    heyho,

    to fix this problem i had to modify the tribe-events.min.js and set the variable “tribe_debug” to false. Thats not update safe but fix my issue :/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Debug messages from tribe-events.min.js’ is closed to new replies.