ERROR: Tag "related_pages": relation field 'gallery' not defined in gallery.php