OCSInventory-NG / OCSInventory-ocsreports

Webconsole for OCS Inventory NG
https://www.ocsinventory-ng.org
GNU General Public License v2.0
227 stars 150 forks source link

CVE ne fonctionne pas #867

Closed steph78630 closed 4 years ago

steph78630 commented 4 years ago

OCS Inventory version Version : 2.6

Describe the bug La remontée des CVE dans la BdD du serveur ne se fait pas

To Reproduce Pour toutes les vulnérabilités testées :

PHP Warning: Invalid argument supplied for foreach() in /usr/share/ocsinventory-reports/ocsreports/require/cve/Cve.php on line 165

jmesa commented 4 years ago

OCS Inventory version Version : 2.6

Describe the bug Manually launching cron_cve.php gives that error.

To Reproduce

root@:/usr/share/ocsinventory-reports/ocsreports/crontab# php cron_cve.php
PHP Warning:  Invalid argument supplied for foreach() in /usr/share/ocsinventory-reports/ocsreports/require/cve/Cve.php on line 165