[Layout]: Fixed php notice
[Layout]: Fixed notice in index layout