Conflict wit wp-statistics plugin
-
Hi
This plugin has a conflict with wp-statistics plugin on dashboard front-end. It is a JS conflict related to chart.js causing that wp-statistics widget on the dashboard not showing properly. Is there any chance that you take action on this in future upgrades?
-
Hi @behroozjanfada,
Thanks for letting me know!
I’m trying to reproduce the issue with the WP Statistics plugin, and will update you as soon as we have more details.
Thanks!
Hi Ralden
Thank you for your reply. It’s truly appreciated. Thank you.
Hi @behroozjanfada,
I added a widget from the?WP Statistics?plugin in a post on a test site, and I haven’t had any issues. For your reference, I created?this screencast.
And there is no JavaScript error on the Console (screenshot).
When you get a chance, could you please share a video showing the conflict?
Also, this might be a conflict between the forms and the site theme or another plugin on your site. To troubleshoot this, please try the steps described in our detailed guide on?how to test for plugin/theme conflicts.
Thanks!
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 @behroozjanfada,
Thanks for the clarification!
Looking at the test site that I recorded the screencast shared in my previous message, I could see a chart of visitors in the wp-statistics widget on the dashboard. Here’s?a new screencast?about this.
This reinforces for me that this might be a conflict between the forms and the site theme or another plugin on your site. To fix this, you could try the steps described in our detailed guide on how to test for plugin/theme conflicts.
Thanks!
Hi @behroozjanfada,
We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.
Thanks!
- The topic ‘Conflict wit wp-statistics plugin’ is closed to new replies.