spatie / http-status-check

CLI tool to crawl a website and check HTTP status codes
https://freek.dev/308-building-a-crawler-in-php
MIT License
594 stars 89 forks source link

Error after updating from 3.0.0 to 3.1.0 (getReasonPhrase on null) #49

Closed bbashy closed 6 years ago

bbashy commented 6 years ago
$ http-status-check scan https://project.dev/ -x

Start scanning https://project.dev/

PHP Fatal error:  Uncaught Error: Call to a member function getReasonPhrase() on null in /Users/ben/.composer/vendor/spatie/http-status-check/src/CrawlLogger.php:146
brendt commented 6 years ago

This should be fixed in 3.1.1: https://github.com/spatie/http-status-check/releases/tag/3.1.1

Let me know if there's any more troubles!