Title: DISALLOWED_ATTR
Last modified: March 9, 2021

---

# DISALLOWED_ATTR

 *  Resolved [cemsid](https://wordpress.org/support/users/cemsid/)
 * (@cemsid)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/disallowed_attr/)
 * Hello there. I’m using a jannah theme. When I add a last post, I get an error
   like this. How can I solve this problem?
    [https://prnt.sc/10h3nsh](https://prnt.sc/10h3nsh)
   [https://prnt.sc/10h3qk6](https://prnt.sc/10h3qk6)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdisallowed_attr%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/disallowed_attr/#post-14156357)
 * Hello [@cemsid](https://wordpress.org/support/users/cemsid/),
 * AMP plugin removes invalid tags and attributes to create valid AMP pages.
 * 1) [https://prnt.sc/10h3nsh](https://prnt.sc/10h3nsh)
    you will need to ask your
   theme author to remove the invalid attributes from the image tag. ask them to
   check and find an alternative for this attribute `size-jannah-image-post`
 * 2) [https://prnt.sc/10h3qk6](https://prnt.sc/10h3qk6)
    This seems to be content-
   specific issue remove invalid attributes for the link as shown in [screenshot](https://prnt.sc/10h811c)
 *  Thread Starter [cemsid](https://wordpress.org/support/users/cemsid/)
 * (@cemsid)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/disallowed_attr/#post-14161257)
 * I haven’t updated the theme in days. Such a problem happened out of nowhere these
   days.
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/disallowed_attr/#post-14161397)
 * Hello [@cemsid](https://wordpress.org/support/users/cemsid/)
 * As I pointed out before those are invalid attributes and removed by the AMP plugin
   to generate valid AMP pages. those issues may have occurred because of some settings
   changes or possibly plugin or theme updates.
 * You can contact the respective theme or plugin author and ask them to fix it 
   or You can safely ignore those issues.
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/disallowed_attr/#post-14166921)
 * Hello [@cemsid](https://wordpress.org/support/users/cemsid/)
 * The invalid attribute may have been added by the rank math plugin, You can temporarily
   deactivate the plugin and “Recheck” the URL to verify it.
 * I will recommend contacting their support team regarding the same.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘DISALLOWED_ATTR’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Milind More](https://wordpress.org/support/users/milindmore22/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/disallowed_attr/#post-14166921)
 * Status: resolved