For anyone looking for a quick fix to make your site working again you can rollback the tutor lms version back to the 2.77. I did it immediately as i saw that the 3.0 was not working.
Here is a link to a video that shows how to go back to the 2.77 version in case you need it.
https://www.youtube.com/watch?v=TGyRRw8p90Q&t=45s
I’m also having the same issue. I see the message “Failed to initialize plugin: codesample” whit no context.