Error uploading files in new 5.7.5.13 installation

Permalink
I have 5 existing 5.7.5.13 installs that are all working properly. I installed another this morning and am getting an error when trying to upload files. The error message reads:

"{"error":{"message":"Declaration of Carbon\\Carbon::setTime($hour, $minute, $second = 0) should be compatible with DateTime::setTime($hour, $minute, $second = NULL, $microseconds = NULL)"},"errors":["Declaration of Carbon\\Carbon::setTime($hour, $minute, $second = 0) should be compatible with DateTime::setTime($hour, $minute, $second = NULL, $microseconds = NULL)"]}"
(see attached screen shot).

Not particularly helpful... Does anyone have any idea why this is happening and how to fix it???

<frustration>
Please do not suggest I install version 8.x instead. I tried and got nothing but errors on install. Composer doesn't work at all. Downloading and installing the .zip is also broken (the default permissions on the index.php file were set wrong in the downloaded zip archive.)

I've never had so many problems with Concrete5 and have been a user now for well over 7 years. It's enough to make me stop using it altogether. It really shouldn't be this hard. Users shouldn't have to debug the code just to use it.
</frustration>

1 Attachment

 
ltinnel replied on at Permalink Best Answer Reply
FYI. I switched from php 7.1 to php 5.6 and the problem went away.
ltinnel replied on at Permalink Reply
According to THIS page (https://documentation.concrete5.org/developers/installation/system-requirements), the recommended version of PHP for Concrete5 5.7.5.13 is PHP 7.1. That's what I was using and got the error.

Shouldn't someone be able to use the officially recommended version of software dependencies and have that work with the downloaded .zip file? And yet, there is an incompatibility between the zip file Carbon package and the recommended PHP version. Why?