After update to Moodle 3.5 one course shows "Class 'Object' not found"

After update to Moodle 3.5 one course shows "Class 'Object' not found"

av Andreas Giesen -
Antall svar: 2

After update to Moodle 3.5 (from 3.1) one course shows "Class 'Object' not found". I tried to deactivate all extra plugins, there are not many used anyway. (Lightbox Gallery, Bootstrap Elements, People Block, Notifications). Also other courses that are set up exactly the same way show fine and alle the plugins work. 

What could cause an error "Class 'Object' not found" under these circumstances just in one course? Debugging set to on shows no further clue. PHP 7.1 is active PHP-version. Server is Ubuntu (Hosting)

Gjennomsnittlig vurdering: -
Som svar til Andreas Giesen

Re: After update to Moodle 3.5 one course shows "Class 'Object' not found"

av Emma Richardson -
Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Plugin developers

Can you post a screenshot - not sure where you are seeing this?  Did you turn debugging on to full developer mode?

Som svar til Emma Richardson

Re: After update to Moodle 3.5 one course shows "Class 'Object' not found"

av Andreas Giesen -

Actually there was not much else to see in the page, only the error ;) 

But full developer-mode helped to identify the block that was causing trouble. (I must have taken the one below before)

Strangely the block ist used in all courses! I deactivated the plugin (Notifications Block) and now the course works. 

I wonder how to deactivate the block only for that course, because I cannot remove the block when it is there, because the page won't load, and neither when the plugin is completely deactivated, because then I cannot remove the single instance of the block... 

But thanks already, this helped a lot! smiler