• Resolved j0hnluk4s

    (@j0hnluk4s)


    Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (?r. 16 mar 2022, 03:39:45 pm) at position 0 (?): Unexpected character in /home/customer/www/kursmatematyki.online/public_html/wp-content/plugins/tutor/classes/Utils.php:9433 Stack trace: #0 /home/customer/www/kursmatematyki.online/public_html/wp-content/plugins/tutor/classes/Utils.php(9433): DateTime->__construct(‘\xC5\x9Br. 16 mar 202…’) #1 /home/customer/www/kursmatematyki.online/public_html/wp-content/plugins/tutor/templates/dashboard/my-profile.php(13): TUTOR\Utils->convert_date_into_wp_timezone(‘\xC5\x9Br. 16 mar 202…’) #2 /home/customer/www/kursmatematyki.online/public_html/wp-content/plugins/tutor/includes/tutor-template-functions.php(115): include(‘/home/customer/…’) #3 /home/customer/www/kursmatematyki.online/public_html/wp-content/plugins/tutor/templates/dashboard.php(230): tutor_load_template(‘dashboard.my-pr…’) #4 /home/customer/www/kursmatematyki.online/public_html/wp-includes/template-loader.php(106): include(‘/ in /home/customer/www/kursmatematyki.online/public_html/wp-content/plugins/tutor/classes/Utils.php on line 9433

Viewing 7 replies - 1 through 7 (of 7 total)
  • Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (Vie 11 Mar 2022, 03:46:56 pm) at position 0 (V): The timezone could not be found in the database in /home/cjligift/estudiantes.binduyoga.us/wp-content/plugins/tutor/classes/Utils.php:9433 Stack trace: #0 /home/cjligift/estudiantes.binduyoga.us/wp-content/plugins/tutor/classes/Utils.php(9433): DateTime->__construct(‘Vie 11 Mar 2022…’) #1 /home/cjligift/estudiantes.binduyoga.us/wp-content/plugins/tutor/templates/dashboard/my-profile.php(13): TUTOR\Utils->convert_date_into_wp_timezone(‘Vie 11 Mar 2022…’) #2 /home/cjligift/estudiantes.binduyoga.us/wp-content/plugins/tutor/includes/tutor-template-functions.php(115): include(‘/home/cjligift/…’) #3 /home/cjligift/estudiantes.binduyoga.us/wp-content/plugins/tutor/templates/dashboard.php(230): tutor_load_template(‘dashboard.my-pr…’) #4 /home/cjligift/estudiantes.binduyoga.us/wp-includes/template-loader.php(106): include(‘/home/cjligift/…’) #5 /home/cjligift/estudiantes.binduyoga.us/wp-blog-header.php(19): require_once(‘/home/cjligift/…’) #6 /home/cjligift/estudiantes.binduyoga.us/index.php(17): require(‘/home/cjligift/…’) #7 {main} thrown in /home/cjligift/estudiantes.binduyoga.us/wp-content/plugins/tutor/classes/Utils.php on line 9433

    Hi, I’m also having the same problem:
    2022-03-17T15:54:36+00:00 CRITICAL Uncaught Exception: DateTime::__construct(): Failed to parse time string (seg 31 jan 2022, 11:56:08 pm) at position 0 (s): The timezone could not be found in the database in /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/classes/Utils.php:9433
    Stack trace:
    #0 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/classes/Utils.php(9433): DateTime->__construct()
    #1 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/templates/dashboard/my-profile.php(13): TUTOR\Utils->convert_date_into_wp_timezone()
    #2 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/includes/tutor-template-functions.php(115): include(‘/www/wwwroot/ea…’)
    #3 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/templates/dashboard.php(230): tutor_load_template()
    #4 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-includes/template-loader.php(106): include(‘/www/wwwroot/ea…’)
    #5 /www/wwwroot/eadseminarioieq.saberpar, em /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/classes/Utils.php, na linha 9433

    2022-03-17T15:56:05+00:00 CRITICAL Uncaught Exception: DateTime::__construct(): Failed to parse time string (seg 31 jan 2022, 11:56:08 pm) at position 0 (s): The timezone could not be found in the database in /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/classes/Utils.php:9433
    Stack trace:
    #0 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/classes/Utils.php(9433): DateTime->__construct()
    #1 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/templates/dashboard/my-profile.php(13): TUTOR\Utils->convert_date_into_wp_timezone()
    #2 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/includes/tutor-template-functions.php(115): include(‘/www/wwwroot/ea…’)
    #3 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/templates/dashboard.php(230): tutor_load_template()
    #4 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-includes/template-loader.php(106): include(‘/www/wwwroot/ea…’)
    #5 /www/wwwroot/eadseminarioieq.saberpar, em /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/plugins/tutor/classes/Utils.php, na linha 9433

    Plugin Support Md. Jobayer Al Mahmud

    (@jobayertuser)

    Hello @suporteescoladeninja , @cuanticmarketing , @j0hnluk4s,

    Go here /plugins/tutor/classes/Utils.php ,

    here line 9417 function this convert_date_into_wp_timezone
    full function replace with this function

    public function convert_date_into_wp_timezone( string $date ){
        $date_format = get_option('date_format');
        $time_format = get_option('time_format');
        $date = date("{$date_format} {$time_format}",  strtotime( wp_get_current_user()->user_registered ));
        return $date;
        }
    Thread Starter j0hnluk4s

    (@j0hnluk4s)

    @jobayertuser its work, thanks bro! <3

    Great. This worked for me too. Gratitude. But it still has some bugs. Hahaha

    great this problem solved, now I have another problem, see:
    https://prnt.sc/bns6eKuWNadc
    The courses page does not load.
    error
    2022-03-18T17:40:33+00:00 CRITICAL Uncaught Error: Call to undefined function tutor_course_enroll_box() in /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/themes/edubin/tutor/single- course.php:37
    Stack trace:
    #0 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-includes/template-loader.php(106): include()
    #1 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-blog-header.php(19): require_once(‘/www/wwwroot/ea…’)
    #2 /www/wwwroot/eadseminarioieq.saberparatodos.com.br/index.php(17): require(‘/www/wwwroot/ea…’)
    #3 {main}
    thrown, in /www/wwwroot/eadseminarioieq.saberparatodos.com.br/wp-content/themes/edubin/tutor/single-course.php, on line 37

    @suporteescoladeninja !

    Your theme overrides Tutor templates, you need to update those templates.
    You can try with any default theme, also you can contact with your theme support to get the theme update.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error in my profile page’ is closed to new replies.