virtUOS / courseware

Interaktive multimediale Lernmodule erstellen und bereitstellen
GNU General Public License v2.0
6 stars 5 forks source link

PHP Warning: Division by zero #200

Closed tleilax closed 4 years ago

tleilax commented 4 years ago

Diese Warning taucht bei uns aktuell sehr häufig im Log auf:

2020/04/09 11:26:38 [error] 4712#4712: *81718350 FastCGI sent in stderr: "PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142" while reading response header from upstream, client: 31.17.248.83, server: elearning.uni-oldenburg.de, request: "GET /plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06&selected=10376 HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "elearning.uni-oldenburg.de", referrer: "https://elearning.uni-oldenburg.de/plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06"
2020/04/09 11:26:43 [error] 4712#4712: *81718350 FastCGI sent in stderr: "PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142" while reading response header from upstream, client: 31.17.248.83, server: elearning.uni-oldenburg.de, request: "GET /plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06&selected=10388 HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "elearning.uni-oldenburg.de", referrer: "https://elearning.uni-oldenburg.de/plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06&selected=10376"
2020/04/09 11:26:48 [error] 4712#4712: *81718350 FastCGI sent in stderr: "PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142" while reading response header from upstream, client: 31.17.248.83, server: elearning.uni-oldenburg.de, request: "GET /plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06&selected=10632 HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "elearning.uni-oldenburg.de", referrer: "https://elearning.uni-oldenburg.de/plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06&selected=10388"
2020/04/09 11:26:52 [error] 4712#4712: *81718350 FastCGI sent in stderr: "PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142" while reading response header from upstream, client: 31.17.248.83, server: elearning.uni-oldenburg.de, request: "GET /plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06&selected=10952 HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "elearning.uni-oldenburg.de", referrer: "https://elearning.uni-oldenburg.de/plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06&selected=10632"
2020/04/09 11:27:00 [error] 4712#4712: *81718350 FastCGI sent in stderr: "PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142
PHP message: PHP Warning:  Division by zero in /var/www/studip-4.3/public/plugins_packages/virtUOS/Courseware/blocks/Courseware/Courseware.php on line 142" while reading response header from upstream, client: 31.17.248.83, server: elearning.uni-oldenburg.de, request: "GET /plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06&selected=11258 HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "elearning.uni-oldenburg.de", referrer: "https://elearning.uni-oldenburg.de/plugins.php/courseware/courseware?cid=750e8aaaecb14ad33712db3df589cd06&selected=10952"