Course editing nearly working

odd error with recent modules on index page