Error uploading files. v.5.7.9 with PHP Version 7.1.33

Permalink
I have an older site running on v.5.7.9 with PHP Version 7.1.33, Elemental Theme

Since a couple weeks, uploading files by all means is not possible anymore.

I get error:

- Wochenplan-Mittagsmenu.pdf
Declaration of Carbon\Carbon::setTime($hour, $minute, $second = 0) should be compatible with DateTime::setTime($hour, $minute, $second = NULL, $microseconds = NULL)

I can only set a link to a remote folder, outside concrete.


Would that be a possible PHP error from the server?

blinkdesign
 
mesuva replied on at Permalink Best Answer Reply
mesuva
Yes, that looks like a PHP version issue.

I'd swap back to PHP5.6 for the time being if possible, or update concrete5 to a later version.

You might not need to update to V8, I think issues like this were fixed towards the end of the 5.7 version, so you might want to do something like aim for 5.7.5.13
blinkdesign replied on at Permalink Reply
blinkdesign
Thanks, it really seems to be a PHP problem. Unfortunately the hosting provider has turned off support for 5.6 and 7.0, so we have to upgrade the cms.