[Wed Jan 19 11:23:17.482937 2022] [php:warn] [pid 685877] [client 127.0.0.1:36650] PHP Warning: Undefined variable $i in /var/www/inventaire/add.php on line 222, referer: http://127.0.0.2/
[Wed Jan 19 11:23:17.484343 2022] [php:warn] [pid 685877] [client 127.0.0.1:36650] PHP Warning: Undefined array key 0 in /var/www/inventaire/blocs/administratif.php on line 146, referer: http://127.0.0.2/
[Wed Jan 19 11:23:17.484365 2022] [php:warn] [pid 685877] [client 127.0.0.1:36650] PHP Warning: Trying to access array offset on value of type null in /var/www/inventaire/blocs/administratif.php on line 146, referer: http://127.0.0.2/
>>>> Messages identiques pour les lignes 150, 157, 158, 159, 176, 188, 189, 190, 224, 225, 226, 241, 246, 252, 254, 261, 262, 263, 285, 289
[Wed Jan 19 11:23:17.485775 2022] [php:warn] [pid 685877] [client 127.0.0.1:36650] PHP Warning: Undefined array key 0 in /var/www/inventaire/blocs/technique.php on line 216, referer: http://127.0.0.2/
[Wed Jan 19 11:23:17.485784 2022] [php:warn] [pid 685877] [client 127.0.0.1:36650] PHP Warning: Trying to access array offset on value of type null in /var/www/inventaire/blocs/technique.php on line 216, referer: http://127.0.0.2/
>>>> Messages identiques pour les lignes 217, 218, 230, 241, 246, 281, 283, 297, 301
[Wed Jan 19 11:23:19.328084 2022] [php:error] [pid 685877] [client 127.0.0.1:36650] PHP Fatal error: Uncaught ValueError: max(): Argument #1 ($value) must contain at least one element in /var/www/inventaire/0_fonctions.php:289\nStack trace:\n#0 /var/www/inventaire/0_fonctions.php(289): max()\n#1 /var/www/inventaire/add.php(176): new_lab_id()\n#2 {main}\n thrown in /var/www/inventaire/0_fonctions.php on line 289, referer: http://127.0.0.2/add.php?BASE=inventaire
[Wed Jan 19 11:23:20.662528 2022] [php:error] [pid 685877] [client 127.0.0.1:36650] PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY historique_id ORDER BY historique_id ASC' at line 1 in /var/www/inventaire/0_listing.php:44\nStack trace:\n#0 /var/www/inventaire/0_listing.php(44): PDO->query()\n#1 /var/www/inventaire/index.php(42): require_once('...')\n#2 {main}\n thrown in /var/www/inventaire/0_listing.php on line 44
[Wed Jan 19 11:23:21.792254 2022] [php:warn] [pid 685877] [client 127.0.0.1:36650] PHP Warning: Undefined variable $i in /var/www/inventaire/add.php on line 222, referer: http://127.0.0.2/
[Wed Jan 19 11:23:37.958901 2022] [php:warn] [pid 683541] [client 127.0.0.1:36658] PHP Warning: Undefined array key 0 in /var/www/inventaire/0_fonctions.php on line 300, referer: http://127.0.0.2/add.php?BASE=inventaire
[Wed Jan 19 11:23:37.958922 2022] [php:warn] [pid 683541] [client 127.0.0.1:36658] PHP Warning: Trying to access array offset on value of type null in /var/www/inventaire/0_fonctions.php on line 300, referer: http://127.0.0.2/add.php?BASE=inventaire
[Wed Jan 19 11:23:37.959074 2022] [php:error] [pid 683541] [client 127.0.0.1:36658] PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'serial_number' cannot be null in /var/www/inventaire/add.php:190\nStack trace:\n#0 /var/www/inventaire/add.php(190): PDO->query()\n#1 {main}\n thrown in /var/www/inventaire/add.php on line 190, referer: http://127.0.0.2/add.php?BASE=inventaire
[Wed Jan 19 11:23:40.366996 2022] [php:error] [pid 683541] [client 127.0.0.1:36658] PHP Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY historique_id ORDER BY historique_id ASC' at line 1 in /var/www/inventaire/0_listing.php:44\nStack trace:\n#0 /var/www/inventaire/0_listing.php(44): PDO->query()\n#1 /var/www/inventaire/index.php(42): require_once('...')\n#2 {main}\n thrown in /var/www/inventaire/0_listing.php on line 44
N'y aurait-il pas des valeurs à rentrer dans la base pour l'initialiser ? Ou des tests manquant dans le code pour le cas d'une base vide ?