Admin error
Fatal error
: Uncaught DomainException: Time zone different than GMT or UTC is not supported as a formatting output. in /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.9.3/timezone_transformer.php:49 Stack trace: #0 /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.9.3/full_transformer.php(113): TimezoneTransformer->format(Object(DateTime), 1) #1 /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.9.3/full_transformer.php(92): FullTransformer->formatReplace('z', Object(DateTime)) #2 [internal function]: FullTransformer->{closure}(Array) #3 /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.9.3/full_transformer.php(93): preg_replace_callback('/('(?:[^']+|'')...', Object(Closure), 'M/d/yy, h:mm:ss...') #4 /home/neperfmust/public_html/catalog/includes/system/versioned/1.0.9.3/intl_date_formatter.php(224): FullTransformer->format(Object(DateTime)) #5 /home/neperfmust/public_html/catalog/nepmadmin6470/includes/modules/dashboard/d_admin_logins.php(49): IntlDateFo in
/home/neperfmust/public_html/catalog/includes/system/versioned/1.0.9.3/timezone_transformer.php
on line
49
timezone_transformer.php Admin Error 1.0.9.3
-
heatherbell
- Senior Contributor
- Posts: 2540
- Joined: Mon Oct 07, 2019 4:39 am
- Phoenix Version:
- Has thanked: 35 times
- Been thanked: 243 times
Re: timezone_transformer.php Admin Error 1.0.9.3
Just a guess:
https://github.com/CE-PhoenixCart/Phoen ... quirements
shows PHP extension intl must be enabled
https://github.com/CE-PhoenixCart/Phoen ... quirements
shows PHP extension intl must be enabled
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: timezone_transformer.php Admin Error 1.0.9.3
Hopefully Matt @ecartz will be along to give further advice on this.
I think we used Symfony's polyfill but I wasn't involved in any of that, so loath to give advice on it.
I think we used Symfony's polyfill but I wasn't involved in any of that, so loath to give advice on it.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: timezone_transformer.php Admin Error 1.0.9.3
I wonder if we need the transformer on the login date?
$GLOBALS['date_time_formatter']->format((new Date($logins['date_added']))->get_timestamp())
to
Date::abridge($logins['date_added'])
or just
$logins['date_added']
$GLOBALS['date_time_formatter']->format((new Date($logins['date_added']))->get_timestamp())
to
Date::abridge($logins['date_added'])
or just
$logins['date_added']
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: timezone_transformer.php Admin Error 1.0.9.3
Turning on intl is the easy solution. I'll look into whether we can fix this more generally. This seems like a limitation that we could lift.