#5417: Prevent watchdog and warnings from lack of theme hook.
Merge pull request #5418 from openscholar/5417-theme_hook

Prevent watchdog and warnings from lack of theme hook.