Setting ignore cookie fails due to wrong arguments

Setting the ignore cookie fails, apparently due to the wrong data format passed to gmdate:
WARNING: //piwik/core/Cookie.php(155): Warning - gmdate() expects parameter 2 to be integer, float given - Matomo 4.1.1 - Please report this message in the Matomo forums: (please do a search first as it might have been reported already) (Module: UsersManager, Action: setIgnoreCookie, In CLI mode: false)
PHP is at 7.2.34.


Can you check the Matomo or your webserver log to see if you can find the full stack trace?
Otherwise it is hard to know which part of Matomo passes the invalid data.