error in Tutor LMS

  • Posted in : Efor
  • info@feelgoodmktg.com
    Participant

    hi there. I am having an issue with a course that will not save because of an error that indicates that it cannot save the video.

    Course: Fundamental Hypnosis

    Error: {
    “message”: “Request failed with status code 422”,
    “name”: “AxiosError”,
    “stack”: “AxiosError: Request failed with status code 422\n at i (https://perceptionalhypnosis.com/wp-content/plugins/tutor/assets/js/tutor-course-builder.min.js?ver=3.4.1:43:87134)\n at XMLHttpRequest.k (https://perceptionalhypnosis.com/wp-content/plugins/tutor/assets/js/tutor-course-builder.min.js?ver=3.4.1:1:76852)\n at d.request (https://perceptionalhypnosis.com/wp-content/plugins/tutor/assets/js/tutor-course-builder.min.js?ver=3.4.1:43:53169)”,
    “config”: {
    “transitional”: {
    “silentJSONParsing”: true,
    “forcedJSONParsing”: true,
    “clarifyTimeoutError”: false
    },
    “adapter”: [
    “xhr”,
    “http”,
    “fetch”
    ],
    “transformRequest”: [
    null
    ],
    “transformResponse”: [
    null
    ],
    “timeout”: 0,
    “xsrfCookieName”: “XSRF-TOKEN”,
    “xsrfHeaderName”: “X-XSRF-TOKEN”,
    “maxContentLength”: -1,
    “maxBodyLength”: -1,
    “env”: {},
    “headers”: {
    “Accept”: “application/json, text/plain, /”
    },
    “paramsSerializer”: {},
    “baseURL”: “https://perceptionalhypnosis.com/wp-admin/admin-ajax.php”,
    “method”: “POST”,
    “data”: {},
    “params”: {}
    },
    “code”: “ERR_BAD_REQUEST”,

    serkan
    Moderator

    Hi, It looks like you’re encountering a 422 Unprocessable Entity error when trying to save your course (“Fundamental Hypnosis”) in Tutor LMS on your WordPress site. This typically means the server understands your request but can’t process it due to validation issues—often related to file uploads (like videos) or missing required fields.

    1. Video Upload Issue
    The error suggests the problem is related to saving a video. Possible reasons:
    The video file is too large (exceeds server limits).
    The video format is not supported.
    A temporary server issue is preventing upload.

    Try:
    Reduce video size (compress or use a smaller file).
    Re-upload the video in a supported format (MP4 is usually best).
    Check server upload limits (via php.ini or hosting settings):
    upload_max_filesize (should be at least 64M or higher)
    post_max_size (should be larger than upload_max_filesize)
    max_execution_time (should be at least 300 for large uploads)

    2. Plugin Conflict
    Another plugin might be interfering with Tutor LMS.

    Try:
    Disable other plugins temporarily (especially security, caching, or file upload plugins).
    Switch to a default theme (like Twenty Twenty-Four) to rule out theme conflicts.

    Let me know if you’d like help with any of these steps!

    info@feelgoodmktg.com
    Participant

    It is now working. I think it might of been either a plugin interfering or the video size. Thanks for your help with this.

    serkan
    Moderator

    You are welcome :) We’d be very happy if you can spare a minute to rate the theme on ThemeForest. Your feedback will boost our motivation and help us to work harder on future updates.

    https://themeforest.net/downloads

    Thank you for your support.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register