cosmocode / dokuwiki-plugin-statdisplay

fork of the statdisplay dokuwiki plugin
4 stars 4 forks source link

Undefined array key "visitor" in /var/lib/dokuwiki/plugins/statdisplay/helper/table.php on line 179; #60

Open tachtler opened 8 months ago

tachtler commented 8 months ago

OS: ArchLinux PHP-Version: 8.2.14 Extension: php-gd installed and in /etc/php/php-ini enabled → binary gd are also installed. Apache HTTPD Webserver with php-fpm will be used.

The plugin works and data will be display, BUT all the graphs are NOT displayed.

Apache Webserver error message:

[Wed Jan 03 15:12:35.624655 2024] [proxy_fcgi:error] [pid 7519:tid 140021294098112] [client fd00::10:10:0:0:50:47510]
AH01071: Got error 'PHP message: PHP Warning:  Undefined array key "visitor" in
/var/lib/dokuwiki/plugins/statdisplay/helper/table.php on line 179;
PHP message: PHP Warning:  Undefined array key "visitor" in /var/lib/dokuwiki/plugins/statdisplay/helper/table.php on line 180;
PHP message: PHP Warning:  Undefined array key "visitor" in /var/lib/dokuwiki/plugins/statdisplay/helper/table.php on line 179;
PHP message: PHP Warning:  Undefined array key "visitor" in /var/lib/dokuwiki/plugins/statdisplay/helper/table.php on line 180'

image

The Image Link was: https://[**URL**]/lib/plugins/statdisplay/graph.php?graph=all&f=&t= (Maybe the parameter will be missing?)

Please, can you help, to solve the problem?

Thank you in advance! Klaus.

JohanPhom commented 7 months ago

+1