• Hello Support Team,

    I am currently unable to add or update any lessons within the Tutor LMS plugin. When I try to add a new lesson, the Visual Editor does not respond, and any content I attempt to add is not saved when I click ‘Update Lesson’. This issue persists even when I try to switch to the Text Editor. The ‘Update Lesson’ button does not save any changes, effectively preventing me from adding or modifying lessons altogether.

    Here’s what I’ve done so far in an attempt to resolve the issue:

    • Updated all plugins, including Tutor LMS, and WordPress to their latest versions.
    • Deactivated all other plugins to check for conflicts, but the issue still persists.
    • I tried modifying the Elementor plugin code following some online advice, but that did not resolve the problem.
    • I also tried using different browsers and clearing cache, but the issue remains.

    Details:

    • WordPress Version: 6.6.1
    • Tutor LMS Version: 2.7.4
    • PHP version : 8.3.6
    • Theme: Tutor Starter

    This issue is critical for our online courses, as it completely hinders our ability to add or update content. Your prompt assistance would be greatly appreciated.

    Thank you in advance.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @aaepic

    Thank you for reaching out and providing detailed information about the issue you’re experiencing. I understand how critical this is for your online courses, and I’m here to help.

    Based on the information you’ve provided, here are some steps that might resolve the issue:

    1. Check for JavaScript Errors:
      • Open your browser’s developer console (press F12 or Ctrl + Shift + I) and go to the “Console” tab.
      • Try adding or updating a lesson and see if any errors appear in the console. If there are errors, please share them with us as they might help identify the problem with a screenshot.
    2. PHP Compatibility:
      • It’s possible that Tutor LMS 2.7.4 may have compatibility issues with PHP 8.3.6. I recommend downgrading to PHP 8.1 or 8.0 to see if this resolves the issue.

    Please let me know the results of these steps. If the issue persists, we may need to explore further troubleshooting or escalate the matter to our development team.

    Thank you for your patience.

    Best regards,
    Dip Saha

    Thread Starter Abdelrahman Ahmed

    (@aaepic)

    JQMIGRATE: Migrate is installed with logging active, version 3.4.1
    react-dom.development.js:29890 Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
    react-dom.development.js:86 Warning: You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".
    printWarning @ react-dom.development.js:86
    Show 1 more frame
    Show lessUnderstand this error
    react-dom.development.js:86 Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
    printWarning @ react-dom.development.js:86
    Show 1 more frame
    Show lessUnderstand this error
    jquery-migrate.js?ver=3.4.1:136 JQMIGRATE: jQuery.fn.click() event shorthand is deprecated
    migrateWarn @ jquery-migrate.js?ver=3.4.1:136Understand this warning
    jquery-migrate.js?ver=3.4.1:138 console.trace
    migrateWarn @ jquery-migrate.js?ver=3.4.1:138
    jquery-migrate.js?ver=3.4.1:136 JQMIGRATE: jQuery.fn.submit() event shorthand is deprecated
    migrateWarn @ jquery-migrate.js?ver=3.4.1:136Understand this warning
    jquery-migrate.js?ver=3.4.1:138 console.trace
    migrateWarn @ jquery-migrate.js?ver=3.4.1:138
    jquery-migrate.js?ver=3.4.1:136 JQMIGRATE: jQuery.fn.change() event shorthand is deprecated
    migrateWarn @ jquery-migrate.js?ver=3.4.1:136Understand this warning
    jquery-migrate.js?ver=3.4.1:138 console.trace
    migrateWarn @ jquery-migrate.js?ver=3.4.1:138
    jquery-migrate.js?ver=3.4.1:136 JQMIGRATE: jQuery.fn.keyup() event shorthand is deprecated
    migrateWarn @ jquery-migrate.js?ver=3.4.1:136Understand this warning
    jquery-migrate.js?ver=3.4.1:138 console.trace
    migrateWarn @ jquery-migrate.js?ver=3.4.1:138
    tinymce.min.js?ver=49110-20201110:2 Uncaught TypeError: Cannot assign to read only property 'submit' of object '#'
    at Bw (tinymce.min.js?ver=49110-20201110:2:334377)
    at tN.render (tinymce.min.js?ver=49110-20201110:2:344134)
    at n (tinymce.min.js?ver=49110-20201110:2:354090)
    at Array. (tinymce.min.js?ver=49110-20201110:2:355552)
    at jt (tinymce.min.js?ver=49110-20201110:2:29356)
    at Object.e (tinymce.min.js?ver=49110-20201110:2:355401)
    at C (tinymce.min.js?ver=49110-20201110:2:10800)
    at d (tinymce.min.js?ver=49110-20201110:2:10946)
    at a (tinymce.min.js?ver=49110-20201110:2:10124)Understand this error
    jquery-migrate.js?ver=3.4.1:136 JQMIGRATE: jQuery.fn.mouseup() event shorthand is deprecated
    migrateWarn @ jquery-migrate.js?ver=3.4.1:136Understand this warning
    jquery-migrate.js?ver=3.4.1:138 console.trace
    migrateWarn @ jquery-migrate.js?ver=3.4.1:138
    tutor-course-builder.min.js?ver=2.7.4:1 tutor_content_changed_event
    tinymce.min.js?ver=49110-20201110:2 Uncaught TypeError: Cannot assign to read only property 'submit' of object '#'
    at Bw (tinymce.min.js?ver=49110-20201110:2:334377)
    at tN.render (tinymce.min.js?ver=49110-20201110:2:344134)
    at Object.execCommand (tinymce.min.js?ver=49110-20201110:2:356552)
    at Object.t as success
    at fire (jquery.js?ver=3.7.1:3223:31)
    at Object.fireWith as resolveWith
    at done (jquery.js?ver=3.7.1:9627:14)
    at XMLHttpRequest. (jquery.js?ver=3.7.1:9888:9)Understand this error
    post.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
    greasyfork:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
    post.php:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
    2greasyfork:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
    greasyfork:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

    Hi Dip Saha,

    Thank you for your quick response. I followed your instructions and checked for JavaScript errors in the console while attempting to add or update a lesson. Below are the errors I encountered:

    1. React Warnings:
       Warning: You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".
       Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead.
    1. jQuery Migrate Warnings:
       JQMIGRATE: jQuery.fn.click() event shorthand is deprecated
       JQMIGRATE: jQuery.fn.submit() event shorthand is deprecated
       JQMIGRATE: jQuery.fn.change() event shorthand is deprecated
    1. TinyMCE Errors:
       Uncaught TypeError: Cannot assign to read only property 'submit' of object '#<HTMLFormElement>'
    1. Unhandled Promise Rejections:
       Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

    I’ve also uploaded the console log to a Google Drive folder for your reference:
    Google Drive Link

    Additionally, I noticed that the error occurs when using the TinyMCE editor for adding lessons, and it seems to be related to an attempt to modify a read-only property.

    Could you please provide guidance on how to address these issues? I’m currently running PHP 8.3.6 but can downgrade to PHP 8.1 or 8.0 if necessary.

    Thank you for your assistance!

    Best regards,
    Abdelrahman

    Hello @aaepic

    It seems that downgrading the PHP version may resolve the issue. Please try downgrading your PHP version and see if that resolves the problem.

    If the issue persists, don’t hesitate to reach out to us for further assistance.

    Best Regards
    Dip Saha

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.