Error 500 when add custom Language
-
Hi Team,
Thanks for the great work and quick support!
I have a problem when doing this:
- 1) I made own translation.
- 2) Changed admin language from ENG (US) to CHINESE (HK)
- 3) Uploaded PO & MO to /wp-content/languages/plugins/
- 4) For both booking precesses “1)date 2)service 3)assistant & 1)service 2)assistant 3)date”, error comes out and the page keeps loading without any changes.
- If changed back admin language to ENG (US), it works.
Error Log from debug mode
[27-May-2019 08:18:56 UTC] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘DateTime::__construct(): Failed to parse time string (2019-05-28 10:00上午) at position 16 (?): Unexpected character’ in /—–hided—-//wp-content/plugins/salon-booking-system/views/shortcode/salon_date.php:26
Stack trace:
#0 /—–hided—-//wp-content/plugins/salon-booking-system/views/shortcode/salon_date.php(26): DateTime->__construct(‘2019-05-28 10:0…’)
#1 /—–hided—-//wp-content/plugins/salon-booking-system/src/SLN/Service/Templating.php(27): include(‘/home/mulbrandc…’)
#2 /—–hided—-//wp-content/plugins/salon-booking-system/src/SLN/Plugin.php(101): SLN_Service_Templating->loadView(‘shortcode/salon…’, Array)
#3 /—–hided—-//wp-content/plugins/salon-booking-system/src/SLN/Shortcode/Salon/Step.php(27): SLN_ in /—–hided—-//wp-content/plugins/salon-booking-system/views/shortcode/salon_date.php on line 26The page I need help with: [log in to see the link]
- The topic ‘Error 500 when add custom Language’ is closed to new replies.