Xibo problem carbon

Carbon\Carbon::createFromTimestamp(): Argument #1 ($timestamp) must be of type string|int|float, null given, called in /sites/deploy/4.5.1_revanjordan/lib/Xmds/Soap.php on line 1377

Head to Administration → Settings → Defaults →
Disable the following setting: “Should Layouts be automatically Published?”

It’s a bug in version 4.5.1

It’s not the only one related to null values passed to createFromTimestamp(), another big one is in lib/Helper/DateFormatHelper.php
replace around line 55

public static function createFromTimestamp($timestamp): Carbon
{
    return Carbon::createFromTimestamp($timestamp, date_default_timezone_get());
}

with:
public static function createFromTimestamp($timestamp): Carbon
{
   if (!is_null($timestamp)) {
       return Carbon::createFromTimestamp($timestamp,date_default_timezone_get());
   } else {
       return Carbon::createFromTimestamp(0, date_default_timezone_get());
   }
}

This one fix issues with soap when commands are scheduled

An issue has been logged for this here: 4.5.1: a **repeating** Command event stops every player on that display getting its schedule · Issue #3931 · xibosignage/xibo · GitHub

Thank you

Hey,

This has been fixed in v4.5.2 which has just been released. You can find the release notes here.

Thanks :grinning_face: