Error thrown

Call to undefined function ampforwp_has_post_thumbnail()