Undefined variable JS error
-
Hello,
I am experiencing the following error with the plug in (version 1.7.8):
TypeError: window[((“m_chart_chartjs_” + m_chart_admin.post_id) + “_1”)] is undefined File/Line: m-chart-chartjs-admin.js:115
After a little debugging I found the following:
At the line 115, the plug in tries to access the
window[ ‘m_chart_chartjs_’ + m_chart_admin.post_id + ‘_1’ ] fieldbut inside the window variable I saw only
window[ ‘m_chart_chartjs_285247_2′ ]Note that this error is not showing to all users.
I have 3 admin users. The error occurs to the two of them.
The third one can use the plug in without any issue.What I’ ve tried:
Clearing the website cache
Clearing the browser cache
Using different browsers Firefox/Chrome/Edge
Using Private Session
Reinstalling the browser (no extensions installed)
Deactivating all security applications.
- The topic ‘Undefined variable JS error’ is closed to new replies.