MDL-42672 blocks: warnings on /mod/xxx/index.php for frontpage course