{"id":16181187,"date":"2022-11-09T12:21:46","date_gmt":"2022-11-09T12:21:46","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/function-amp_is_available-was-called-incorrectly\/"},"modified":"2022-11-09T12:21:46","modified_gmt":"2022-11-09T12:21:46","slug":"function-amp_is_available-was-called-incorrectly","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/function-amp_is_available-was-called-incorrectly\/","title":{"rendered":"Function amp_is_available was called incorrectly"},"content":{"rendered":"<p>i am not a technical<br \/>\nand some pages showing this error please help me.<\/p>\n<p><code>Notice: Function amp_is_available was called incorrectly.<\/code>amp_is_available()<code>(or<\/code>amp_is_request()<code>, formerly<\/code>is_amp_endpoint()<code>) was called too early and so it will not work properly. WordPress is currently doing the<\/code>wp_print_scripts<code>hook. Calling this function before the<\/code>wp<code>action means it will not have access to<\/code>WP_Query<code>and the queried object to determine if it is an AMP response, thus neither the<\/code>amp_skip_post()<code>filter nor the AMP enabled toggle will be considered. It appears the plugin with slug<\/code>jetpack<code>is responsible; please contact the author. \u0915\u0943\u092a\u092f\u093e \u0905\u0927\u093f\u0915 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0939\u0947\u0924\u0941 \u0935\u0930\u094d\u0921\u092a\u094d\u0930\u0947\u0938 \u092e\u0947\u0902 \u0921\u093f\u092c\u0917\u093f\u0902\u0917 \u0926\u0947\u0916\u0947\u0902\u0964 (\u0907\u0938 \u0938\u0902\u0926\u0947\u0936 2.0.0 \u0938\u0902\u0938\u094d\u0915\u0930\u0923 \u092e\u0947\u0902 \u091c\u094b\u0921\u093c\u093e \u0917\u092f\u093e.) in \/home\/u259700484\/domains\/domain.in\/public_html\/wp-includes\/functions.php on line 5835<\/code><\/p>\n","protected":false},"template":"","class_list":["post-16181187","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16181187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16181187\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16181187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}