Connection failed: SQLSTATE[HY000] [2002] No such file or directory
Warning: Undefined array key "reference" in /var/www/html/resultats.php on line 11

Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/resultats.php on line 11

Warning: Undefined array key "reference" in /var/www/html/resultats.php on line 16

Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/resultats.php on line 16

Deprecated: Return type of PhpOption\Some::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/soaprr/vendor/phpoption/phpoption/src/PhpOption/Some.php on line 152

Deprecated: Return type of PhpOption\None::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/soaprr/vendor/phpoption/phpoption/src/PhpOption/None.php on line 118
object(Dotenv\Exception\InvalidPathException)#22 (7) { ["message":protected]=> string(77) "Unable to read any of the environment file(s) at [/var/www/html/soaprr/.env]." ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(68) "/var/www/html/soaprr/vendor/vlucas/phpdotenv/src/Store/FileStore.php" ["line":protected]=> int(68) ["trace":"Exception":private]=> array(5) { [0]=> array(6) { ["file"]=> string(59) "/var/www/html/soaprr/vendor/vlucas/phpdotenv/src/Dotenv.php" ["line"]=> int(222) ["function"]=> string(4) "read" ["class"]=> string(22) "Dotenv\Store\FileStore" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [1]=> array(6) { ["file"]=> string(39) "/var/www/html/soaprr/SoaPrr/request.php" ["line"]=> int(22) ["function"]=> string(4) "load" ["class"]=> string(13) "Dotenv\Dotenv" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(6) { ["file"]=> string(38) "/var/www/html/soaprr/SoaPrr/SoaPrr.php" ["line"]=> int(198) ["function"]=> string(11) "__construct" ["class"]=> string(14) "SoaPrr\request" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> NULL } } [3]=> array(6) { ["file"]=> string(38) "/var/www/html/soaprr/SoaPrr/SoaPrr.php" ["line"]=> int(88) ["function"]=> string(15) "__makeRequestV1" ["class"]=> string(13) "SoaPrr\SoaPrr" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> array(1) { ["array"]=> string(89) " 17007 " } [1]=> bool(false) } } [4]=> array(6) { ["file"]=> string(27) "/var/www/html/resultats.php" ["line"]=> int(25) ["function"]=> string(8) "getStock" ["class"]=> string(13) "SoaPrr\SoaPrr" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> array(1) { [0]=> string(0) "" } [1]=> string(5) "17007" } } } ["previous":"Exception":private]=> NULL }
Fatal error: Uncaught Error: Call to a member function getDetailledStock() on null in /var/www/html/resultats.php:25 Stack trace: #0 {main} thrown in /var/www/html/resultats.php on line 25