Page 2 of 2

Re: Simple Stats Plus

Posted: Tue Apr 11, 2023 2:38 pm
by tiloschroeder
Grrr, my fault. ;) I talked about the default "Simple Stats"-Plugin, not "Simple Stats Plus".

Re: Simple Stats Plus

Posted: Tue Apr 11, 2023 2:40 pm
by haywardgg
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.

Re: Simple Stats Plus

Posted: Tue Apr 11, 2023 2:41 pm
by haywardgg
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 :)

Re: Simple Stats Plus

Posted: Tue Apr 11, 2023 3:46 pm
by tiloschroeder
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.

Re: Simple Stats Plus

Posted: Tue Apr 11, 2023 3:55 pm
by tiloschroeder
Screenshot_20230411_155332.png
Screenshot_20230411_155332.png (63.67 KiB) Viewed 8680 times