Getting errors after removing all modules from the navbar

I made a really silly mistake by removing all the modules displayed in the navbar and now I can’t access any of the pages, not even the login page. Below is the error messages I get:

I am a complete noob at this and have no idea which file I should modify in order to get it back to normal. Please help :frowning: