Title: Uncaught Reference Error (Tribe Dynamic Help Text Not Defined)
Last modified: August 25, 2020

---

# Uncaught Reference Error (Tribe Dynamic Help Text Not Defined)

 *  Resolved [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/)
 * On every website page where The Events Calendar is loaded, we get the following
   console error message:
 * `Uncaught ReferenceError: tribe_dynamic_help_text is not defined`
 * Click [here](http://prntscr.com/u5nrc0) for more details (screenshot).
 * Above issue has been reported before in this forum (see below) but no root cause
   nor fix has been provided so far by the plugin author or developer.
 * Yes, we’ve tried your troubleshooting recommendations (e.g., check for plugin
   conflicts, etc). We can confirm this issue is unique to your plugin.
 * Can you guys review this issue in more detail and provide a fix once and for 
   all?
 * Thank you!
 * ———————————————-
 * **Environment:**
 * Avada 7.0.2
    WP 5.5 TEC 5.1.6 PHP 7.3.16
 * ———————————————-
 * **Same or Similar Issue Reported Before with No Resolution:**
 * [https://wordpress.org/support/topic/uncaught-referenceerror-tribe_dynamic_help_text-is-not-defined/](https://wordpress.org/support/topic/uncaught-referenceerror-tribe_dynamic_help_text-is-not-defined/)
 * [https://wordpress.org/support/topic/tribe_dynamic_help_text-is-not-defined/](https://wordpress.org/support/topic/tribe_dynamic_help_text-is-not-defined/)
 * [https://wordpress.org/support/topic/tribe_dynamic_help_text-is-not-defined-2/](https://wordpress.org/support/topic/tribe_dynamic_help_text-is-not-defined-2/)
 * [https://wordpress.org/support/topic/javascript-errors-38/](https://wordpress.org/support/topic/javascript-errors-38/)
 * [https://wordpress.org/support/topic/uncaught-referenceerror-tribe_dynamic_help_text-is-not-defined-2/](https://wordpress.org/support/topic/uncaught-referenceerror-tribe_dynamic_help_text-is-not-defined-2/)

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

 *  Plugin Author [Gustavo Bordoni](https://wordpress.org/support/users/bordoni/)
 * (@bordoni)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13312067)
 * Hi [@jetxpert](https://wordpress.org/support/users/jetxpert/),
 * In that case, it seems like `tribe-events-dynamic` is being enqueued as a dependency
   of something else which could cause localized data not to load.
 * A possible solution would be to:
 *     ```
       <?php
       add_action( 'wp_enqueue_scripts', function() {
           wp_localize_script( 
               'tribe-events-dynamic',
               'tribe_dynamic_help_text',
               tribe( 'tec.assets' )->get_js_dynamic_data()
           );
       }, 50 );
       ```
   
 * Hopefully, that helps.
 * Best Regards,
 *  Thread Starter [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13312379)
 * [@bordoni](https://wordpress.org/support/users/bordoni/),
 * Thank you so much for your help. Unfortunately, your code did not work.
 * In **List** view, we still get the error reported above.
 * In **Detail** view, we now get the message provided below. Click [here](http://prntscr.com/u5q2jz)
   for details.
 * `Uncaught ReferenceError: DateFormatter is not defined`
 * Any other solutions you’d like to try?
 * Thank you.
 *  Thread Starter [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13312587)
 * [@bordoni](https://wordpress.org/support/users/bordoni/),
 * Apologies. Please disregard the “DateFormatter” issue reported above. Only need
   help with the original request. Again, your code did not work.
 * Thank you.
 *  Thread Starter [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13312982)
 * [@bordoni](https://wordpress.org/support/users/bordoni/),
 * *** GOOD NEWS. YOUR CODE FIXED THE ISSUE ***
 * It worked after all. We re-cleared all cache files generated in the back end 
   and front end for our website. After clearing all cache files, waited 5 minutes,
   then closed and relaunched our browser(s).
 * Specifically:
 * **BACKEND**
 * Avada > Options > Performance > Reset Avada Caches
    WP Rocket > Settings > Dashboard
   > Clear Cache SG Optimizer > Supercacher Settings > Purge Cache Cloudflare > 
   Caching > Purge Cache > Purge Everything
 * **FRONTEND**
 * Browser > Clear Cache (Global Cache)
    Broswer > CTRL + F5 (Local Cache) Close
   Browser > Reopen Browser
 * Again, thank you. Cheers.
 *  Thread Starter [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13313205)
 * [@bordoni](https://wordpress.org/support/users/bordoni/) (et al),
 * Above works **provided** the following is activated in either Perfmatters or 
   SG Optimizer:
 * **Remove Query Strings** or **Remove Query Strings From Static Resources**
 * Cheers!
 *  Thread Starter [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13316872)
 * [@bordoni](https://wordpress.org/support/users/bordoni/),
 * Well, bad news. The issue re-appeared. Re-opening a new topic since this one 
   cannot be “unchecked” as resolved.
 * Cheers!
 *  Moderator [Yui](https://wordpress.org/support/users/fierevere/)
 * (@fierevere)
 * 永子
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13316890)
 * > Re-opening a new topic since this one cannot be “unchecked” as resolved.
 * no need to open new topic, removed “resolved” mark
 *  Thread Starter [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13324205)
 * **Fixed:**
 * OK, let’s try this one more time 🙂
 * We can confirm the above snippet provided by [@bordoni](https://wordpress.org/support/users/bordoni/)
   works.
 * **Here’s what we did:**
 * **(1)** Added the snippet to our functions.php file using the plugin “Code Snippets.”(
   Activated on back-end and front-end, Priority 2)
 * **(2)** Activated “Remove Query Strings From Static Resources” in SG Optimizer.
   Any other caching plugin should have this feature.
 * **(3)** Cleared all cache.
 * **(4)** Waited 15′ for all cache files to re-generate.
 * **We’ll monitor this fix for a week and mark this issue as “Resolved” if it doesn’t
   resurface.**
 * Cheers!
 *  Thread Starter [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13363321)
 * **Final Update and Fix:**
 * The above DID NOT work. However, we fixed this issue (confirmed) as follows:
 * **Open the following files:**
 * `/wp-content/plugins/the-events-calendar/src/resources/js/events-dynamic.js`
 * and
 * `/wp-content/plugins/the-events-calendar/src/resources/js/events-dynamic.min.
   js`
 * **Replace:**
 * `helper`
 * **With:**
 * `help`
 *  Thread Starter [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * (@jetxpert)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13363330)
 * Item Resolved!

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

The topic ‘Uncaught Reference Error (Tribe Dynamic Help Text Not Defined)’ is closed
to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

## Tags

 * [not defined](https://wordpress.org/support/topic-tag/not-defined/)
 * [Uncaught ReferenceError](https://wordpress.org/support/topic-tag/uncaught-referenceerror/)

 * 10 replies
 * 3 participants
 * Last reply from: [jetxpert](https://wordpress.org/support/users/jetxpert/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/uncaught-reference-error-tribe-dynamic-help-text-not-defined/#post-13363330)
 * Status: resolved