• 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 26

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter karson2019

    (@karson2019)

    Sorry, forgot to post the Error Log from Google Console:

    jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
    jquery.js?ver=1.12.4-wp:4 POST https://—hided—/wp-admin/admin-ajax.php?lang=zh 500 (Internal Server Error)
    send @ jquery.js?ver=1.12.4-wp:4
    ajax @ jquery.js?ver=1.12.4-wp:4
    sln_loadStep @ salon.js?ver=20181112:152
    (anonymous) @ salon.js?ver=20181112:59
    dispatch @ jquery.js?ver=1.12.4-wp:3
    r.handle @ jquery.js?ver=1.12.4-wp:3

    PS. WordPress Version 5.2.1; PHP Version 5.6

    • This reply was modified 5 years, 9 months ago by karson2019. Reason: With wordpress & PHP version
    Plugin Author Dimitri Grassi

    (@wordpresschef)

    Hi,

    we’ll verify this issue..

    Thread Starter karson2019

    (@karson2019)

    Thanks and looking forward to your reply!

    [ Please do not bump. ]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error 500 when add custom Language’ is closed to new replies.