Fatal Error from Tutor LMS - how to recover?

Hi folks,

I am a newbie to Elgg. I have the 3.3.13 version of Elgg installed. I wanted to try out the Tutor LMS plugin. But as soon as I activated it I got the fatal error as you can see below.

  1. I don't know how to recover from this. When I invoke Elgg again it just keeps showing the Fatal Error page. Is there a way to reset it so I can go back and perhaps deactivate Tutor LMS so I can use my Elgg installation?
  2. Does anyone know the solution the problem with Tutor LMS. I tried to contact the developer of the plugin but he did not respond.

Fatal Error.

Call to undefined function elgg_register_library()

Log at time 2020-12-23T22:36:54-05:00 may have more data.

 

#0 [internal function]: tutor_lms_theme_init('init', 'system', NULL)
#1 /home/alec/public_html/elgg/vendor/elgg/elgg/engine/classes/Elgg/HandlersService.php(85): call_user_func_array('tutor_lms_theme...', Array)
#2 /home/alec/public_html/elgg/vendor/elgg/elgg/engine/classes/Elgg/EventsService.php(89): Elgg\HandlersService->call('tutor_lms_theme...', 'event', Array)
#3 /home/alec/public_html/elgg/vendor/elgg/elgg/engine/classes/Elgg/EventsService.php(173): Elgg\EventsService->trigger('init', 'system', NULL, Array)
#4 /home/alec/public_html/elgg/vendor/elgg/elgg/engine/classes/Elgg/Application/BootHandler.php(160): Elgg\EventsService->triggerSequence('init', 'system')
#5 /home/alec/public_html/elgg/vendor/elgg/elgg/engine/classes/Elgg/Application/BootHandler.php(49): Elgg\Application\BootHandler->bootApplication()
#6 /home/alec/public_html/elgg/vendor/elgg/elgg/engine/classes/Elgg/Application.php(215): Elgg\Application\BootHandler->__invoke()
#7 /home/alec/public_html/elgg/vendor/elgg/elgg/engine/classes/Elgg/Application.php(474): Elgg\Application->bootCore()
#8 /home/alec/public_html/elgg/vendor/elgg/elgg/engine/classes/Elgg/Application.php(360): Elgg\Application->run()
#9 /home/alec/public_html/elgg/vendor/elgg/elgg/engine/classes/Elgg/Application.php(416): Elgg\Application::route(Object(Elgg\Http\Request))
#10 /home/alec/public_html/elgg/index.php(8): Elgg\Application::index()
#11 {main}
  • Thanks a million!! That worked and I am in business with both Tutor LMS and Lessons. 

    Just a question though. I notice that for a course or lesson you can add just one file. In the use case we have a lesson may have multiple documents - document, video, image, even sound file. In effect the ability to load a folder vs a file. The File Tools plugin provides some of that capability on the Files tab. However, it expects end users (teachers in my case) to zip the files up, something they are not tech savvy to do, and it does not support some formats, such as Google docs that teachers often use. Ideally, it would associate a folder structure for a lesson with other folders or files in it. 

    I am asking for a lot :-(

  • I notice that for a course or lesson you can add just one file. In the use case we have a lesson may have multiple documents -

    It should be easy to allow multiple uploads, it will require to change the upload button to "multiple" and loop through the files in the action.

    Ideally, it would associate a folder structure for a lesson with other folders or files in it. 

    Alternatively, instead of uploading the files via lessons' plugin, you could embed them with the files plugin. If you need folder structure, I strongly suggest you to try this plugin:

    https://github.com/ColdTrick/file_tools