Check if Page Manager exists before calling function
Merge pull request #9 from scolin22/templatephpbugfix

Check if Page Manager exists before calling function