fix error when publishing static placeholders outside of a CMS page
Merge pull request #2897 from tomds/static_placeholders

Fix error when publishing static placeholders outside of a CMS page