Thanks for getting in touch with us.
Which AMP plugin are you using?
If you are using the AMP for WP plugin, please choose Rank Math from the dropdown at WordPress Dashboard > AMP > Settings > SEO.
If you are using any other AMP plugin, please enable the Rank Math AMP module at WordPress Dashboard > Rank Math > Dashboard
Then, clear your website cache along with the AMP cache. Click on the “Validate Fix” in your Google Search Console and wait 4-5 days for Google to see the fixed AMPs and remove the errors from your search console.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.