• Resolved Jason Yingling

    (@yingling017)


    I’m receiving an error of:

    Uncaught ReferenceError: tribe_dynamic_help_text is not defined

    It seems to stem from the /the-events-calendar/src/resources/js/events-dynamic.js file that sets a variable named tribe_dynamic_helper_text but the file references tribe_dynamic_help_text. Seems like one the references need to be corrected to properly use help or helper.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Looking at the source code, I see how this could be confusing. tribe_dynamic_helper_text is being passed into the closure as “obj”.

    tribe_dynamic_help_text is actually defined. It is added to the page via “localize_scripts” which is used to pass data from PHP to JS.

    In any case, I’m not seeing this same error in my test install.

    I would recommend going through the troubleshooting steps outlined in our Testing for Conflicts Guide to see if this error still shows with the Twenty Seventeen theme active and all other plugins disabled. If not, re-enable everything one a time until the error returns to find the culprit.

    https://theeventscalendar.com/knowledgebase/testing-for-conflicts/

    Hope that helps!

    Sky

    Hey there,

    Since this topic has been inactive for a while, I’m going to go ahead and mark as resolved. Don’t hesitate to reopen or create a new topic if you still need help! 😄

    Take care,
    Ed 🤟

    This is still an issue.

    When used as a shortcode, the global localization var “tribe_dynamic_help_text” is not present at all in the markup.

    When viewed at site.com/events the global localization var “tribe_dynamic_help_text” is in the markup.

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

The topic ‘Uncaught ReferenceError: tribe_dynamic_help_text is not defined’ is closed to new replies.