Dashboard stops working when Slimstat is enabled
-
Hello,
I just installed version 5.0.3 and with that, the dashboard stops working properly (wordpress version is 6.2). The graphs of slimstat are not shown, also other graphs of other plugins are not showing up when slimstat enabled.
The menu of wordpress in the upper right corner where you choose which boxes are to be shown does not open anymore and also no icons react on any clicks.
I am getting this error when Slimstats enabled and loading the dashboard:PHP Warning Undefined array key "v3" in /<path to wp>/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php on line 1250 PHP Fatal error Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /<path to wp>/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php:1250 Stack trace: #0 /<path to wp>/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php(1250): implode(',', NULL) #1 /<path to wp>/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php(956): wp_slimstat_reports::show_chart(Array) #2 /<path to wp>/wp-admin/includes/template.php(1445): wp_slimstat_reports::callback_wrapper('', Array) #3 /<path to wp>/wp-admin/includes/dashboard.php(277): do_meta_boxes(Object(WP_Screen), 'column3', '') #4 /<path to wp>/wp-admin/index.php(203): wp_dashboard() #5 {main} thrown in /<path to wp>/wp-content/plugins/wp-slimstat/admin/view/wp-slimstat-reports.php on line 1250
Any help appreciated!
Edit: I found the reason for this error. In the settings, 3rd tab (the one for the reports), 2nd value I had 30 days instead of 28. When I switch to 28 days the dashboard and all graphs are loaded correctly. When putting in 30, the graphs and dashboard is broken. Maybe this helps for fixing the error.
- The topic ‘Dashboard stops working when Slimstat is enabled’ is closed to new replies.