I turned on AMP plugin which is compatible with Generatepress and also installed amp generatepress plugin which makes it compactable. I’m not sure why search console Is getting this error. Please help
have you spoken to the AMP Plugin author ? As the Theme has no control over the AMP page and the plugin author would be better suited to answer AMP issues.