Fatal error: Uncaught TypeError: DateTimeImmutable::setTimezone(): Argument #1 ($timezone) must be of type DateTimeZone, string given in /in/ssATV:12
Stack trace:
#0 /in/ssATV(12): DateTimeImmutable->setTimezone('+03:00')
#1 {main}
thrown in /in/ssATV on line 12
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught TypeError: DateTimeImmutable::setTimezone(): Argument #1 ($timezone) must be of type DateTimeZone, string given in /in/ssATV:12
Stack trace:
#0 /in/ssATV(12): DateTimeImmutable->setTimezone('+03:00')
#1 {main}
thrown in /in/ssATV on line 12
Process exited with code 255.
Output for 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
Warning: DateTimeImmutable::setTimezone() expects parameter 1 to be DateTimeZone, string given in /in/ssATV on line 12
bool(true)
object(DateTimeImmutable)#1 (3) {
["date"]=>
string(26) "2015-01-01 11:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(12) "Europe/Minsk"
}
bool(false)
int(1420099200)
Fatal error: Uncaught Error: Call to a member function getTimestamp() on bool in /in/ssATV:16
Stack trace:
#0 {main}
thrown in /in/ssATV on line 16
Process exited with code 255.
Warning: DateTimeImmutable::setTimezone() expects parameter 1 to be DateTimeZone, string given in /in/ssATV on line 12
bool(true)
object(DateTimeImmutable)#1 (3) {
["date"]=>
string(26) "2015-01-01 11:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(12) "Europe/Minsk"
}
bool(false)
int(1420099200)
Fatal error: Uncaught Error: Call to a member function getTimestamp() on boolean in /in/ssATV:16
Stack trace:
#0 {main}
thrown in /in/ssATV on line 16
Process exited with code 255.
Output for 5.6.8 - 5.6.28
Warning: DateTimeImmutable::setTimezone() expects parameter 1 to be DateTimeZone, string given in /in/ssATV on line 12
bool(true)
object(DateTimeImmutable)#1 (3) {
["date"]=>
string(26) "2015-01-01 11:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(12) "Europe/Minsk"
}
bool(false)
int(1420099200)
Fatal error: Call to a member function getTimestamp() on boolean in /in/ssATV on line 16
Process exited with code 255.
Output for 5.5.24 - 5.5.35
Warning: DateTimeImmutable::setTimezone() expects parameter 1 to be DateTimeZone, string given in /in/ssATV on line 12
bool(true)
object(DateTimeImmutable)#1 (3) {
["date"]=>
string(26) "2015-01-01 11:00:00.000000"
["timezone_type"]=>
int(3)
["timezone"]=>
string(12) "Europe/Minsk"
}
bool(false)
int(1420099200)
Fatal error: Call to a member function getTimestamp() on a non-object in /in/ssATV on line 16
Process exited with code 255.