Sometimes the $metadata['timestamp'] could be a float (microtime(true) / $_REQUEST['REQUEST_TIME_FLOAT']) and the current implicit conversion for gmdate() causes issues in PHP8.1+. This small patch makes this conversion explicit.

Comments

Gekkie created an issue. See original summary.

  • Steven Buteneers committed e7f6d1eb on 8.x-1.x
    Issue #3310955 by Gekkie: PHP8.1 compatiblity / implicit float to int...
steven buteneers’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.