PHP 7.1 Error
Permalink 3 users found helpfulDeclaration of Carbon\Carbon::setTime($hour, $minute, $second = 0) should be compatible with DateTime::setTime($hour, $minute, $second = NULL, $microseconds = NULL).
PHP 7.0.10 does not throw an error, so I am assuming my custom form is not the problem also I see that this is a problem for other cms users when using PHP 7.1
I managed to get this working again by changing line 671 of concrete/vendor/nesbot/carbon/src/Carbon/Carbon.php from this
public function setTime($hour, $minute, $second = 0)
To this
public function setTime($hour, $minute, $second = NULL, $microseconds = NULL)
I am using Concrete5.7.5.13
I see on the Supermint addon help pages that this error has been reported when using Supermint with PHP 7.1
I upgraded my local setup to PHP7.1 so that I could work on a new C5.8 site and just discovered that an older (C5.7.5.13) site throws this error.
I have simply rolled back this one site to PHP5.5 for the time being (easy to do on my Windows IIS setup).
It is mentioned on GitHub at..
https://github.com/briannesbitt/Carbon/issues/844...
From what I can see, PHP 7.1 requires a fourth parameter for Microseconds to be set.