Title: Javascript Error (Reference Error)
Last modified: February 3, 2020

---

# Javascript Error (Reference Error)

 *  Resolved [leogc](https://wordpress.org/support/users/leogc/)
 * (@leogc)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-reference-error/)
 * My inspector shows me this JS Error from MEC:
 *     ```
       ReferenceError: mec_admin_localize is not defined
       in: plugins/modern-events-calendar-lite/assets/js/backend.js?wp-mce-4960-20190918:656
       ```
   
 * Could you check on this please?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/javascript-error-reference-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/javascript-error-reference-error/page/2/?output_format=md)

 *  Plugin Contributor [webnus](https://wordpress.org/support/users/webnus/)
 * (@webnus)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12396091)
 * Hello [@leogc](https://wordpress.org/support/users/leogc/),
 * For troubleshooting, deactivate all your plugins and let the MEC remain active
   only, set your theme on default, then reload the page, if the issue was solved,
   then activate your plugins one by one and your theme, refresh your page and check
   to see which plugin is causing the issue.
 * Please keep us informed,
 * Best Regards
 *  Thread Starter [leogc](https://wordpress.org/support/users/leogc/)
 * (@leogc)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12396685)
 * This Error has reference of MEC besidesd that to confirm it all plug ins were
   deactivatet to recheck the JS-Error is still there so please check this file:
 * plugins/modern-events-calendar-lite/assets/js/backend.js?wp-mce-4960-20190918:
   656
 * thanks
 *  Plugin Contributor [webnus](https://wordpress.org/support/users/webnus/)
 * (@webnus)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12400867)
 * Hello [@leogc](https://wordpress.org/support/users/leogc/),
 * Please provide us with more details. send a screenshot of your issue.
 * We test the backend page and didn’t see any JS Error on a clean WordPress dashboard.
 * Also, please read and follow this topic to help us to find the issue:
    [https://wordpress.org/support/topic/before-posting-please-read-it-thoroughly-4/](https://wordpress.org/support/topic/before-posting-please-read-it-thoroughly-4/)
 * Best Regards
 *  Thread Starter [leogc](https://wordpress.org/support/users/leogc/)
 * (@leogc)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12403418)
 * The Error shows up on my Frontpage not in the Admindashbiard. As soon you use
   Webconsole and checking for Errors you will get it, problem, only on internal
   pages which are visable for logged in users only. Maybe you can now replicate
   it?
 *  Plugin Contributor [webnus](https://wordpress.org/support/users/webnus/)
 * (@webnus)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12412187)
 * Hello [@leogc](https://wordpress.org/support/users/leogc/),
 * Would you please provide us with some screenshots and images of the errors you
   faced step by step?
 * I would then forward it to the developer team to fix the issues in the upcoming
   updates.
 * There is nothing to be worried about, we will fix the issues, I also appreciate
   you for reporting the issues.
 * Please provide us with more details, screenshot or any documentation so we can
   find the issue.
 * Best Regards
 *  Thread Starter [leogc](https://wordpress.org/support/users/leogc/)
 * (@leogc)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12412372)
 * Just let me know how i can send you screenshots, as here in the Forum i can not
   post a picture :-/
 *  Plugin Contributor [webnus](https://wordpress.org/support/users/webnus/)
 * (@webnus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12413954)
 * Hello Again,
 * Thank you for getting back to me,
 * You can use this link: [https://postimages.org/](https://postimages.org/) to 
   share screenshots with us,
 * Also, it would be great if you tell me what is your MEC version and your theme(
   name and version)?
 * Best Regards
 *  Thread Starter [leogc](https://wordpress.org/support/users/leogc/)
 * (@leogc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12414974)
 * Well now i have 2 Screenshots for you, you can check then within 7 Days here:
   [https://postimg.cc/gallery/3cn1vpy80/](https://postimg.cc/gallery/3cn1vpy80/)
 * The Error is not showing up as soon MEC is deactivated. The Errors shows just
   on some pages not all and only as soon i’m logged in. Very suprisingly the errors
   shows up only on pages were MEC is not active, no calendar views shortcodes etc.
   mostly in pages were the User can submit some forms clasifieds etc. In the Backend
   i don’t get this Errormeassge, only in the front page as mentioned before only
   in some special cases.
 * All Versions i use are the newest available, for WP, MEC, other plug ins and 
   Theme. I use the Theme Multi-News from Momizat (Envatomarket).
 * The Page works well without problems, but the Error shows that something small
   is going on, which is not correctly. That should be sorted out.
 *  Plugin Contributor [webnus](https://wordpress.org/support/users/webnus/)
 * (@webnus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12416378)
 * Hello [@leogc](https://wordpress.org/support/users/leogc/),
 * Thank you for your report and sharing screenshots,
    This is forwarded to the 
   developer team and it will be fixed for the next updates
 * Best Regards
 *  Thread Starter [leogc](https://wordpress.org/support/users/leogc/)
 * (@leogc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12416498)
 * Thank you 🙂 i will inform you here if it will be solved with the next update
   🙂
 *  Thread Starter [leogc](https://wordpress.org/support/users/leogc/)
 * (@leogc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12430653)
 * [@webnus](https://wordpress.org/support/users/webnus/) just to let you know the
   last update did not solve the Issue 😉
 *  Plugin Contributor [webnus](https://wordpress.org/support/users/webnus/)
 * (@webnus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12438021)
 * Hi [@leogc](https://wordpress.org/support/users/leogc/),
 * In fact, we don’t know when fixed.
    But, now, I set high priority for this report
   and we will let you know the result.
 * You can follow MEC Change Log link: [https://webnus.net/modern-events-calendar/change-log/](https://webnus.net/modern-events-calendar/change-log/)
 * We appreciate your patience.
 * Best Regards
 *  Thread Starter [leogc](https://wordpress.org/support/users/leogc/)
 * (@leogc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12439532)
 * Ok, thank you!
 *  Plugin Contributor [webnus](https://wordpress.org/support/users/webnus/)
 * (@webnus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12450672)
 * Hello [@leogc](https://wordpress.org/support/users/leogc/),
 * Regarding the issue, you reported in your current topic, we worked on MEC and
   we fixed it so we want you to kindly update MEC to its latest version (5.1.6)
   and then try again. In case the issue persists, just let us know.
 * Your suggestions are of utmost importance to us, and that’s why we need you to
   leave a comment about the latest update here on this topic.
 * Best Regards,
    -  This reply was modified 6 years, 1 month ago by [webnus](https://wordpress.org/support/users/webnus/).
 *  [I Declare MultiMedia](https://wordpress.org/support/users/m4declare1/)
 * (@m4declare1)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/#post-12451665)
 * I’ve been getting the same error, I’m also getting an error with time zones on
   Mar 8, 2020, It keep going 1 hour ahead

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/javascript-error-reference-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/javascript-error-reference-error/page/2/?output_format=md)

The topic ‘Javascript Error (Reference Error)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/modern-events-calendar-lite_e2f4ff.
   svg)
 * [Modern Events Calendar Lite](https://wordpress.org/plugins/modern-events-calendar-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/modern-events-calendar-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/modern-events-calendar-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/modern-events-calendar-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/modern-events-calendar-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/modern-events-calendar-lite/reviews/)

 * 18 replies
 * 3 participants
 * Last reply from: [leogc](https://wordpress.org/support/users/leogc/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-reference-error/page/2/#post-12494583)
 * Status: resolved