• Resolved JustineA

    (@justinea)


    Yesterday night everything was working nicely, after updating LMS in the night, I now get a “critical error” message. Sensei was the only plugin which updated in the last 48 hours.

    How can I get my courses back?

    Editing to add some details:
    the course works fine on the frontend,
    at the backend it also looks fine until I want to enter it for editing, then the critical error shows up
    I rolled back to the previous version and it works fine again.

    • This topic was modified 3 years, 2 months ago by JustineA.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The last update includes trailing commas in function calls in file:

    /var/www/html/wp-content/plugins/woothemes-sensei/plugins/sensei-lms/includes/rest-api/class-sensei-rest-api-send-message-controller.php

    On row 71 and 140

    Remove the comma and it will work. Trailing commas in function calls is accepted in php 7.3 and later, so older versions of php will break because of this. This is something sensei should fix.

    Thread Starter JustineA

    (@justinea)

    Thank you! I will wait for a new update, I am not versed enough to play around with the code.

    Thanks for the report Justine. Do you happen to know which version of PHP you are using?

    Hello again Justine. We’ve just shipped Sensei 3.15.1. Would you be able to update the plugin and see if that resolves the issue you’re seeing? If not, could you provide the exact error message you’re getting? Thanks!

    Thread Starter JustineA

    (@justinea)

    It says php 7.2.34.

    I updated to sensei 3.15.1 and now it is working, no error message.

    Thanks Donna!

    Thanks so much for reporting back Justine!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error after Plugin update’ is closed to new replies.