• Hello,

    When in the backend of our site we continue to get bad gateways and it’s slow. I have tried a number of solution from Pantheon the hosting company but nothing seems to resolve it.

    They mentioned something in the menu core file and also told me to look at the error logs. I don’t know what to look for in the erorr logs which for php-slow.log are here:

    https://gist.github.com/pantheonsystems/b4c31e960ca0efe3125fd8c622da9f80#file-php-slow-log

    Some of the errors I copied and pasted below. Any help is appreciated. Thank you.

    [0x00007f09f62175e0] can_user_read_step() /code/wp-content/plugins/sfwd-lms/includes/classes/class-ldlms-model-course.php:465
    [0x00007f09f62174d0] get_quizzes() /code/wp-content/plugins/sfwd-lms/includes/course/ld-course-steps-functions.php:247
    [0x00007f09f6217410] learndash_course_get_quizzes() /code/wp-content/plugins/sfwd-lms/includes/course/ld-course-navigation.php:463
    [0x00007f09f6217370] learndash_get_global_quiz_list() /code/wp-content/plugins/sfwd-lms/includes/course/ld-course-progress.php:1765
    [0x00007f09f62172a0] learndash_is_all_global_quizzes_complete() /code/wp-content/plugins/sfwd-lms/includes/classes/class-ldlms-model-user-course-progress.php:461
    [0x00007f09f62171d0] build_course_progress_completed_count() /code/wp-content/plugins/sfwd-lms/includes/classes/class-ldlms-model-user-course-progress.php:488
    [0x00007f09f6217110] build_course_progress_summary() /code/wp-content/plugins/sfwd-lms/includes/classes/class-ldlms-model-user-course-progress.php:207
    [0x00007f09f6217080] load_course_progress() /code/wp-content/plugins/sfwd-lms/includes/classes/class-ldlms-model-user-course-progress.php:594
    [0x00007f09f6216ff0] get_progress() /code/wp-content/plugins/sfwd-lms/includes/classes/class-ldlms-model-user-course-progress.php:667
    [0x00007f09f6216f50] learndash_user_get_course_progress() /code/wp-content/plugins/learndash-reports-by-wisdmlabs/includes/apis/class-wrld-course-progress-info.php:1657
    [0x00007f09f6216ac0] get_course_list_info() /code/wp-includes/rest-api/class-wp-rest-server.php:1143
    [0x00007f09f62169e0] respond_to_request() /code/wp-includes/rest-api/class-wp-rest-server.php:990
    [0x00007f09f62168f0] dispatch() /code/wp-includes/rest-api/class-wp-rest-server.php:414
    [0x00007f09f6216740] serve_request() /code/wp-includes/rest-api.php:394
    [0x00007f09f62166a0] rest_api_loaded() /code/wp-includes/class-wp-hook.php:307
    
    [26-Jul-2022 02:11:40]  [pool www] pid 1946
    script_filename = /code//index.php
    [0x00007f09f62171c0] mysqli_query() /code/wp-includes/wp-db.php:2169
    [0x00007f09f6217150] _do_query() /code/wp-includes/wp-db.php:2058
    [0x00007f09f6217070] query() /code/wp-includes/wp-db.php:2836
    [0x00007f09f6216f80] get_results() /code/wp-content/plugins/sfwd-lms/includes/ld-reports.php:1436
    [0x00007f09f6216ee0] learndash_get_user_quiz_attempts() /code/wp-content/plugins/learndash-reports-by-wisdmlabs/includes/apis/class-wrld-course-time-tracking.php:249
    [0x00007f09f6216e00] learndash_get_user_quiz_attempts_time_spent() /code/wp-content/plugins/learndash-reports-by-wisdmlabs/includes/apis/class-wrld-course-time-tracking.php:778
    [0x00007f09f6216c80] get_modulewise_quiztime() /code/wp-content/plugins/learndash-reports-by-wisdmlabs/includes/apis/class-wrld-course-time-tracking.php:687
    [0x00007f09f6216ac0] get_quiz_completion_time() /code/wp-includes/rest-api/class-wp-rest-server.php:1143
    [0x00007f09f62169e0] respond_to_request() /code/wp-includes/rest-api/class-wp-rest-server.php:990
    [0x00007f09f62168f0] dispatch() /code/wp-includes/rest-api/class-wp-rest-server.php:414
    [0x00007f09f6216740] serve_request() /code/wp-includes/rest-api.php:394
    [0x00007f09f62166a0] rest_api_loaded() /code/wp-includes/class-wp-hook.php:307
    [0x00007f09f62165c0] apply_filters() /code/wp-includes/class-wp-hook.php:331
    [0x00007f09f6216550] do_action() /code/wp-includes/plugin.php:524
    [0x00007f09f6216490] do_action_ref_array() /code/wp-includes/class-wp.php:398
    [0x00007f09f6216230] parse_request() /code/wp-includes/class-wp.php:770
    [0x00007f09f62161a0] main() /code/wp-includes/functions.php:1330
    [0x00007f09f6216100] wp() /code/wp-blog-header.php:16

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    Based on the error log you provided, your sfwd-lms plugin seems to be the error.

    Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/plugins/ and rename or delete the directory of sfwd-lms plugin.

    Next report the issue at the support forum of that plugin.

    Thread Starter andvines99

    (@andvines99)

    Thanks

    Refresh the Page. The first solution is a fairly simple one – wait around for a minute or two and refresh the page you’re on.
    Clear Browser Cache.
    Try in Incognito Mode.
    Flush DNS.
    Test on Another Device.
    Check Error Log.
    Check Plugins and Themes.
    Check CDNs.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bad Gateway and Slow Site’ is closed to new replies.