WPStatistics gone from dashboard sidebar & menu
-
Hi!
We’ve been unable to access WPStatistics for a while now. It’s neither showing in the sidebar on the dashboard nor in the menu bar nor on specific posts. I had hoped that the latest update would fix it, but it’s still not showing anywhere.I already tried deactivating all other plugins, but the problem persists even when WPStatistics is the only plugin running.
I’m now at a loss at how to access the plugin (and our statistics) at all, and would appreciate any kind of help!
Thanks in advance,
ClaudiaThe page I need help with: [log in to see the link]
-
Hi @musicalzentrale,
Thank you for opening the thread, and we are sorry for your less-than-perfect experience.
Could you kindly enable the WordPress debugging on your website and see if there are any errors related to WP Statistics? You can learn more about debugging here: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/.
Additionally, I would recommend you deactivate and delete the plugin, and install it again. Rest assured your data remains safe.
Please let us know the results.
Thank you for your cooperation!
Regards
Hi Matthew,
Thank you for the prompt response!
Unfortunately, debugging doesn’t give us any WP Statistics related errors.
We fiddled around with it some more and found out it seems to be a problem tied to user permissions. Not even admin accounts (who technically should have permissions for everything) are able to access WP Statistics. When I try to open the plugin’s settings page at https://musicalzentrale.de/wp-admin/admin.php?page=wps_settings_page, it gives me an “You do not have sufficient permissions to access this page.” error message.
Is that helpful? Any ideas what’s going on there?
Kind regards,
Claudiasame issue, although we can get to settings, view and manipulate data there… the dashboard plugin is a blank….. thank you
Not quite the same issue then. For us, it’s not blank – it’s simply not there at all, and we can’t access settings. Your issue sounds really bad too, but from the technical perspective, it seems like a different kind of bug than what we’re dealing with (and therefore probably has a different solution, I imagine).
to be clear, the banner is there for the widget, but nothing else populated at all, please pardon the vaguery of “blank”
perhaps different issue in some respects, but between mine, yours and those noted on another thread all in the immediate aftermath of the update, the widget code is not up to snuff. pretty sure also went through a round of this for a week or so earlier this year following another update, a conflict with a Shields update if not mistaken but that was all too many troubleshoots ago for certainty
updates are ever a bane of homo techniens, so very often less is more
good luck
No visitor stats, you guys are making this plugin bad to use.
Dear @musicalzentrale,
Given the error you have encountered with, this seems to be a permission problem.
If you have access to WP-CLI, you can run the following command to check what minimum roles are set to veiw and manage WP Statistics:
wp option get wp_statistics | grep "_capability"Additionally, you can reset the roles with the following commands:
wp option patch update wp_statistics read_capability manage_options
wp option patch update wp_statistics manage_capability manage_optionsIf WP-CLI is not available, you will need to update the roles directly in the database. Navigate to the
wp_optionstable, locate thewp_statisticsoption, and edit its value.Kindly find
s:15:"read_capability";XXXXXXXXX;and replaceXXXXXXXXX;withs:14:"manage_options";. Similarly, finds:17:"manage_capability";YYYYYYYYY;and replaceYYYYYYYYY;withs:14:"manage_options";. The final result should look like this:s:15:"read_capability";s:14:"manage_options";s:17:"manage_capability";s:14:"manage_options";.Please be cautious when editing the database manually, as these are serialized values. Even a single missing or extra character can lead to fatal errors.
Please let us know if this resolves the issue.
Thank you!
Hi @wordlion,
Could you please check the browser’s console log to see if there are any errors?
Additionally, we would appreciate it if you could share screenshots of the issue you are experiencing along with the console errors (if any).
Thank you for your cooperation!
Regards
Hi @maxbyer,
Could you please provide details about the issue you are experiencing?
Providing screenshots/screencasts can significantly help us investigate the issue and provide you with more accurate answers.
If the issue you are experiencing differs from the one discussed in this thread, we kindly ask that you open a new one.
Thank you for your cooperation!
Regards
The errors that relate to you are:
dashboard-widget.min.js?ver=1.9.2.1:1 WARNING! WPFormsDashboardWidget.handleRecommendedPluginsClose() has been deprecated, please use WPFormsDashboardWidget.handleWidgetBlockClose() instead.
jQuery.Deferred exception: jQuery(…).tooltipster is not a function TypeError: jQuery(…).tooltipster is not a function
at k.tooltip (https://[website]/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.11.2:1:110295)
at HTMLDocument. (https://[website]/wp-content/plugins/wp-statistics/assets/js/admin.min.js?ver=14.11.2:1:110514)
at e (https://[website]/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27028)
at t (https://[website]/wp-admin/load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.6.2:2:27330) undefinedThere are other errors for other things if this is not in fact the issue and those might somehow help.
A screenshot is superfluous. There is the banner “Traffic Overview” within the dashboard widget area and then an equal size white rectangle below that containing nothing where the stats sued to be.
Thank you very much.Thank you, @wordlion!
This issue seems to be an incompatibility with other plugins and tooltipster.
We will investigate this and get back to as quickly as possible.
Regards
Thank you for rapid response on weekend. Believe this very same thing happened between the widget and a Shield update earlier this year. I rolled back Shield and was good, then tried update after they ironed things out for a bit and was ok. This time, the issue seems to have arisen on your update and I do not believe Shield updated recently. Could be something else, just passing along what I know if it helps. There is no rush. Appreciate the support.
Dear @wordlion,
The issue doesn’t seem to be from the Shield Security plugin as we couldn’t replicate the issue with it.
Is it possible for you to deactivate all other plugins and activate them one by one to see which plugin is causing the issue?
Thank you for your cooperation!
Regards
started doing that with several of them with no effect, then went into troubleshooting mode with all deactivated and first enabled wp statistics so I could observe it on the dashboard and see when it went away as I enabled the others one by one—-this led to an error:
“When enabling the plugin, wp-statistics, a site failure occurred. Because of this the change was automatically reverted.”
The topic ‘WPStatistics gone from dashboard sidebar & menu’ is closed to new replies.