Closed donutboyy closed 2 years ago
It seems that your computer is failing to send the curl request
Adding an if statement on line 129 of stats.php will prevent the TypeError and allow you to see more details about what error you're getting
$response = curl_exec($ch);
+ if ($response === false) {
+ throw new AssertionError("curl_exec() failed: " . curl_error($ch));
+ }
curl_close($ch);
$obj = json_decode($response);
Thanks! It was an SSL certificate problem, just had to properly install the latest cacert.pem
.
Describe the bug
composer test
failing with the following summary:To Reproduce Steps to reproduce the behavior:
main
branch checked out with no changescomposer test
Additional context I'm on Windows 10 and running PHP 8.1.7 (cli)