behroozjanfada
Forum Replies Created
-
Great work @karzin
Thank you! ??
Hi Pablo,
Thank you for your answer. I was aware of that and changed the option to locally and that resolves the issue. However, I was thinking you might consider changing the CDN because of the UNPKG issues for those who like to load the modal library from a CDN.
My suggestion to resolve the issue:
class-modal.php, line 85
change:wp_register_script( 'ttt_pnwc_micromodal', 'https://unpkg.com/micromodal/dist/micromodal.min.js', array( 'jquery' ), false, true );
with:wp_register_script( 'ttt_pnwc_micromodal', 'https://fastly.jsdelivr.net/npm/micromodal/dist/micromodal.min.js', array( 'jquery' ), false, true );
4.5.1 works fine!. Thanks @karzin
Same here. Fortunately, I had a backup of version 4.4.9 and I downgrade it to get my websites back to work.
Hi @oluisrael
Thanks a lot.
With latest update, issue appears again and I patch it again with my solution. But for the next update if it appears again, I’ll use your solution.
Cheers
Hi Oluisrael
Thank you. Looking forward to that.
Regards
Hi Reza jaan,
Thank you for your answer. If any further information or help is needed from my side, just let me know.
In the mean time, you might want to follow this topic as well:
https://www.ads-software.com/support/topic/conflict-wit-wp-statistics-plugin/
Regards
Hi Ralden
Thank you for your detailed answer. I watched your screenshots. They are alright. I also have no issues on website front page or inside wp-statistics admin page. The issue is on WordPress main dashboard, where wp-statistics widget on the dashboard should show a chart of visitors, but it fails and throw errors in console such as:
Uncaught NS_ERROR_FAILURE:
retinaScale https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resize https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
i https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
u https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resizer https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resizer https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
s https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
h https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resizer https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
p https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
addEventListener https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
bindEvents https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
initialize https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
construct https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
t https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
line_chart https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
hits_chart https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
meta_box_init https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
success https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
setTimeout handler*success https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
jQuery 8
t https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
ajaxq https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
ajaxQ https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
run_meta_box https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
run_meta_boxes https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
run_meta_boxes https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
jQuery 13
8 chart.min.js:10
retinaScale https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resize https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
i https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
u https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resizer https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
(Async: FrameRequestCallback)
resizer https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
s https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
(Async: EventListener.handleEvent)
h https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resizer https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
p https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
addEventListener https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
bindEvents https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
initialize https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
construct https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
t https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
line_chart https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
hits_chart https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
meta_box_init https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
success https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
(Async: setTimeout handler)
success https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
jQuery 8
t https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
ajaxq https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
ajaxQ https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
run_meta_box https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
run_meta_boxes https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
forEach self-hosted:203
run_meta_boxes https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
jQuery 13or:
Uncaught TypeError: i is undefined
fit https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
update https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
update https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
each https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
update https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
updateLayout https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
update https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
construct https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
t https://legalapply.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
line_chart https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
hits_chart https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
meta_box_init https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
success https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
setTimeout handler*success https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
jQuery 8
t https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
ajaxq https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
ajaxQ https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
run_meta_box https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
run_meta_boxes https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
run_meta_boxes https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
https://legalapply.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
jQuery 13
chart.min.js:10:129240I should mention that all other plugins and themes are up-to-date. And when I deactivate wpforms-lite or wp-statistics, everything is working right on the main dashboard page and no errors are in console.
If above information is not helping I can take a video showing the issue.
Regards
Hi Mostafa
Thank you for looking into this. Yes, both wp-statistics and wpforms-lite are up to date. Also WordPress installation and other plugins and themes are updated to the latest versions, but still the issue is present.
I should mention that the website language is Persian, but I think it is not related to the issue, as we know that the error is related to chart.js which is used by both wp-statistics and wpforms-lite.
I also have started a topic in wpforms-lite support page and they are starting to look into this as well. You may want to follow that too.
Cheers
- This reply was modified 1 year, 7 months ago by behroozjanfada.
Hi Ralden
Thank you for your reply. It’s truly appreciated. Thank you.
Hi,
Thank you for your reply. Sure. There are lots of TypeErrors like this:
Uncaught TypeError: i is undefined
fit https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
update https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
update https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
each https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
update https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
updateLayout https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
update https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
construct https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
t https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
line_chart https://example.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
hits_chart https://example.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
meta_box_init https://example.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
success https://example.org/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.1.5:1
chart.min.js:10:129240And also there are lots of NS_ERROR like this:
Uncaught NS_ERROR_FAILURE:
retinaScale https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resize https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
i https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
u https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resizer https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
resizer https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
s https://example.org/wp-content/plugins/wpforms-lite/assets/lib/chart.min.js?ver=2.7.2:10
chart.min.js:10Note that there are a couple of WordPress websites that I manage, each using wpforms-lite and (still) not using wp-statistics, without any problem and errors.
@lcf & @tychesoftwares you are welcome!
@tychesoftwares everything is OK now. Thanks for the update.