DataHandler::printLogErrorMessages() - v7.6 lts
The issue was fixed for v8 and published with v8.7.10.
According to the chart at https://typo3.org/cms/roadmap/ we would expect that typo3 v7.6 lts supports PHP v7.1 which it currently does not because of the printLogErrorMessages().
An ArgumentCountError exception will be thrown on PHP v7.1
#3 Updated by Marco von Arx about 1 year ago
I think we could apply the same changes from changeset https://forge.typo3.org/projects/typo3cms-core/repository/revisions/82482dbd65f5b5e531b6bac0f771f4ae38a87681
however, line numbers may vary.
Or we can make $redirect argument optional like
public function printLogErrorMessages($redirect = '')
(in file typo3/sysext/core/Classes/DataHandling/DataHandler.php)
#4 Updated by Benni Mack about 1 year ago
I don't know how to reproduce this. printLogErrorMessages() in TYPO3 v7 Core is always called with an argument, so how is this a PHP 7.2 error?
Thanks for some clarification. I'd like to fix this, but I'm unable to reproduce (and running various v7 installations on PHP 7.2 without finding an issue in this area).
#5 Updated by Marco von Arx about 1 year ago
I did check again with v7.6 sources and could not reproduce it either. In fact printLogErrorMessages is always called with a non empty parameter as you mentioned in your reply.
I must have confused the source codes at the time i have opened the ticket.
I'm sorry for any inconveniences and will close this ticket.