Error thrown

Undefined constant "on_content_gallery"