Simple Stats Plus

User avatar
tiloschroeder
Ssr. Bludit
Posts: 23
Joined: Sat Feb 25, 2023 10:59 am
Location: Klosterlechfeld
Has thanked: 3 times
Been thanked: 9 times
Contact:

Grrr, my fault. ;) I talked about the default "Simple Stats"-Plugin, not "Simple Stats Plus".
haywardgg
Ssr. Bludit
Posts: 19
Joined: Wed Apr 05, 2023 10:46 pm
Has thanked: 4 times
Been thanked: 1 time

Server is not password protected.

Those files exist when I enable the official simple stats plugin and that plugin also shows the stats.

Very strange. Thank you for suggestions.
haywardgg
Ssr. Bludit
Posts: 19
Joined: Wed Apr 05, 2023 10:46 pm
Has thanked: 4 times
Been thanked: 1 time

tiloschroeder wrote: Tue Apr 11, 2023 2:38 pm Grrr, my fault. ;) I talked about the default "Simple Stats"-Plugin, not "Simple Stats Plus".
Yes, this is about the Simple Stats Plus :)
User avatar
tiloschroeder
Ssr. Bludit
Posts: 23
Joined: Sat Feb 25, 2023 10:59 am
Location: Klosterlechfeld
Has thanked: 3 times
Been thanked: 9 times
Contact:

haywardgg wrote: Tue Apr 11, 2023 2:41 pm
tiloschroeder wrote: Tue Apr 11, 2023 2:38 pm Grrr, my fault. ;) I talked about the default "Simple Stats"-Plugin, not "Simple Stats Plus".
Yes, this is about the Simple Stats Plus :)
okay, this is from the error log:

Code: Select all

[11-Apr-2023 15:34:36 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /srv/www/htdocs/ts/bl-plugins/simple-stats-plus/plugin.php:474
Stack trace:
#0 /srv/www/htdocs/ts/bl-kernel/helpers/theme.class.php(233): pluginSimpleStatsPlus->dashboard()
#1 /srv/www/htdocs/ts/bl-kernel/admin/views/dashboard.php(149): Theme::plugins()
#2 /srv/www/htdocs/ts/bl-kernel/admin/themes/booty/index.php(82): include('...')
#3 /srv/www/htdocs/ts/bl-kernel/boot/admin.php(99): include('...')
#4 /srv/www/htdocs/ts/index.php(37): require('...')
#5 {main}
  thrown in /srv/www/htdocs/ts/bl-plugins/simple-stats-plus/plugin.php on line 474
  
If you comment out line 470 in the plugin.php , it should work (the line sorts the $IndividualPages array decending by counter).

Just a quick fix.
User avatar
tiloschroeder
Ssr. Bludit
Posts: 23
Joined: Sat Feb 25, 2023 10:59 am
Location: Klosterlechfeld
Has thanked: 3 times
Been thanked: 9 times
Contact:

Screenshot_20230411_155332.png
Screenshot_20230411_155332.png (63.67 KiB) Viewed 1250 times
Post Reply