• Resolved this-is-me

    (@this-is-me-1)


    First thank you for this great plugin.
    I am using this plugin on a customer page with the medicenter theme from quanticalabs.
    After setting up the event calender and calling the event page I get a javascript error and my footer sidebar content is missing.
    The console throws the following error TypeError: b.originalEvent is undefined in file tribe-events-ajax-list.min.js?ver=3.8.1.
    I appreciate any hint to solve this problem as my suggestion is a conflict between the loaded javascript files in theme and plugin, because switching the theme solves the problem.
    Thank you in advanced.

    https://ww.wp.xz.cn/plugins/the-events-calendar/

Viewing 1 replies (of 1 total)
  • Brook

    (@brook-tribe)

    Hello this-is-me. JS errors are unfortunately difficult to trouble shoot, particularly jQuery ones. Virtually anything on the page can cause an unrelated function to fail. And since JS is designed to fail silently as often as it can to hide errors, when it can’t hide them anymore often the cause is obscured by the lack of debugging information elsewhere.

    The first thing I would do if I was you would be to set SCRIPT_DEBUG to true in your wp-config. That way you are dealing with non minified files that have line numbers. Next I would try disabling your theme’s JS files one at a time, perhaps by renaming them, until the error goes away. Once it’s gone, pore over that file. Maybe share it here so the community can help too if possible?

    Cheers!

    – Brook

Viewing 1 replies (of 1 total)

The topic ‘Javascript error TypeError: b.originalEvent is undefined’ is closed to new replies.