Issue With AMP Plugin
-
On Wp-login page this error starts showing after installing Google Site Kit Plugin.
My site has the Official AMP plugin installed. when i installed site kit on my wp-login page it is showing below error.
Notice: is_amp_endpoint was called incorrectly. is_amp_endpoint() was called before the parse_query hook was called. Please see Debugging in WordPress for more information. (This message was added in version 0.4.2.) in /home/paiddbname/public_html/wp-includes/functions.php on line 5167
when i deleted the site kit plugin the, the error was gone. Then i reinstalled site kit then again error showing.
-
@ishubhammishra thanks for your topic.
I’m not able to recreate the error with several sites with the official AMP plugin (for which Site Kit has compatibility).
Could you provide us your Site Health information so we can get more info about your environment?
Site Health Information
### wp-core ### version: 5.4.1 site_language: en_US user_language: en_US permalink: /%year%/%monthnum%/%postname%.html https_status: true user_registration: 0 default_comment_status: open multisite: false user_count: 7 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/paidfr28/public_html wordpress_size: 1.56 GB (1673360104 bytes) uploads_path: /home/paidfr28/public_html/wp-content/uploads uploads_size: 3.36 GB (3603376009 bytes) themes_path: /home/paidfr28/public_html/wp-content/themes themes_size: 12.48 MB (13086442 bytes) plugins_path: /home/paidfr28/public_html/wp-content/plugins plugins_size: 133.00 MB (139458543 bytes) database_size: 97.67 MB (102411930 bytes) total_size: 5.15 GB (5531693028 bytes) ### wp-dropins (2) ### advanced-cache.php: true object-cache.php: true ### wp-active-theme ### name: Jannah Child (jannah-child) version: 1.0.2 author: TieLabs author_website: https://tielabs.com parent_theme: Jannah (jannah) theme_features: automatic-feed-links, title-tag, html5, post-thumbnails, Arqam_Lite, wp-block-styles, align-wide, editor-style, menus, widgets theme_path: /home/paidfr28/public_html/wp-content/themes/jannah-child ### wp-parent-theme ### name: Jannah (jannah) version: 4.6.6 author: TieLabs author_website: https://tielabs.com/ theme_path: /home/paidfr28/public_html/wp-content/themes/jannah ### wp-themes-inactive (1) ### Twenty Twenty: version: 1.3, author: the WordPress team ### wp-mu-plugins (1) ### Health Check Troubleshooting Mode: author: (undefined), version: 1.7.1 ### wp-plugins-active (37) ### Activity Log: version: 2.5.2, author: Activity Log Team Ad Inserter: version: 2.6.8, author: Igor Funa (latest version: 2.6.9) Ads.txt Manager: version: 1.3.0, author: 10up All In One WP Security: version: 4.4.3, author: Tips and Tricks HQ, Peter Petreski, Ruhul, Ivy AMP: version: 1.5.3, author: AMP Project Contributors Arqam Lite: version: 1.0.6, author: TieLabs Classic Editor: version: 1.5, author: WordPress Contributors Disable Comment URL: version: 1.0, author: Syed Raza Ali Disable Feeds: version: 1.4.4, author: Samir Shah, BBpress support by Matthew Sigley Easy Theme and Plugin Upgrades: version: 2.0.1, author: Chris Jean Gallery Lightbox Lite: version: 1.0.0.35, author: GhozyLab, Inc. Ginger - EU Cookie Law: version: 4.2.1, author: Marco Buttarini, Matteo Barale Health Check & Troubleshooting: version: 1.4.4, author: The www.remarpro.com community Insert Headers and Footers: version: 1.4.5, author: WPBeginner InstaNow - Instagram Feed for WordPress by TieLabs: version: 2.1.3, author: TieLabs Jannah - Extensions: version: 1.0.11, author: TieLabs Jannah Speed Optimization: version: 1.0.2, author: TieLabs JSON Basic Authentication: version: 0.1, author: WordPress API Team Media Cleaner Pro: version: 5.6.2, author: Jordy Meow (latest version: 5.6.3) MWW Disclaimer Buttons: version: 3.0.1, author: Jennifer Moss, Moss Web Works No Self Pings: version: 1.1.3, author: David Artiss Official Facebook Pixel: version: 2.0.2, author: Facebook OneSignal Push Notifications: version: 2.1.2, author: OneSignal Post Pay Counter: version: 2.756, author: Stefano Ottolenghi SG Optimizer: version: 5.5.5, author: SiteGround Site Kit by Google: version: 1.8.1, author: Google TablePress: version: 1.11, author: Tobias B?thge Taqyeem: version: 2.6.2, author: TieLabs Taqyeem - Buttons Addon: version: 1.1.0, author: TieLabs Taqyeem Predefined Criteria: version: 1.0.1, author: TieLabs Temporary Login Without Password: version: 1.6.1, author: StoreApps WP Bitly: version: 2.5.2, author: <a href="https://temeritystudios.com/">Temerity Studios</a> WPForms Lite: version: 1.6.0.2, author: WPForms WP Rocket: version: 3.5.5.1, author: WP Media WP User Avatar: version: 2.2.6, author: ProfilePress Yoast SEO: version: 14.2, author: Team Yoast Yoast SEO: News: version: 12.4.1, author: Team Yoast ### wp-plugins-inactive (2) ### Liveblog: version: 1.9.4, author: WordPress.com VIP, Big Bite Creative and contributors Watson Assistant: version: 0.8.27, author: IBM Cognitive Class ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available gd_version: bundled (2.1.0 compatible) ghostscript_version: 9.26 ### wp-server ### server_architecture: Linux 3.12.18-clouder0 x86_64 httpd_software: Apache php_version: 7.3.16 64bit php_sapi: cgi-fcgi max_input_variables: 3000 time_limit: 120 memory_limit: 768M max_input_time: 120 upload_max_size: 128M php_post_max_size: 128M curl_version: 7.59.0 OpenSSL/1.0.2r suhosin: false imagick_availability: false server-headers: server: nginx date: Sat, 30 May 2020 03:37:20 GMT content-type: text/html; charset=UTF-8 content-length: 26719 expires: Wed, 11 Jan 1984 05:00:00 GMT cache-control: no-cache, must-revalidate, max-age=0 x-cache-enabled: True link: <https://paidfreedroid.com/wp-json/>; rel="https://api.w.org/", <https://bit.ly/2tbyINo>; rel=shortlink set-cookie: wpSGCacheBypass=1; expires=Sat, 30-May-2020 05:17:18 GMT; Max-Age=6000; path=/ vary: Accept-Encoding,User-Agent content-encoding: gzip alt-svc: quic=":443"; ma=86400; v="43,39" host-header: b7440e60b07ee7b8044761568fab26e8 x-proxy-cache: BYPASS htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.6.40-84.0-log client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $ ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/paidfr28/public_html/wp-content WP_PLUGIN_DIR: /home/paidfr28/public_html/wp-content/plugins WP_MAX_MEMORY_LIMIT: 768M WP_DEBUG: true WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_LOCAL_DEV: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable ### wpforms ### version: 1.6.0.2 license: false lite: Sep 2, 2017 @ 5:21pm total_forms: 5 total_entries: 382 ### google-site-kit ### version: 1.8.1 php_version: 7.3.16 wp_version: 5.4.1 reference_url: https://paidfreedroid.com amp_mode: secondary site_status: connected-site user_status: authenticated active_modules: site-verification, search-console, adsense, analytics, pagespeed-insights, optimize required_scopes: openid: ? https://www.googleapis.com/auth/userinfo.profile: ? https://www.googleapis.com/auth/userinfo.email: ? https://www.googleapis.com/auth/siteverification: ? https://www.googleapis.com/auth/webmasters: ? https://www.googleapis.com/auth/adsense: ? https://www.googleapis.com/auth/analytics: ? https://www.googleapis.com/auth/analytics.readonly: ? https://www.googleapis.com/auth/analytics.manage.users: ? https://www.googleapis.com/auth/analytics.edit: ? search_console_property: https://paidfreedroid.com/ adsense_account_id: pub-900????????????? adsense_client_id: ca-pub-900????????????? adsense_account_status: account-connected adsense_use_snippet: yes analytics_account_id: 4191???? analytics_property_id: UA-4191?????? analytics_profile_id: 7376???? analytics_use_snippet: yes optimize_id: none ### amp_wp ### amp_mode_enabled: reader amp_templates_enabled: post amp_serve_all_templates: This option does not apply to Reader mode. amp_css_transient_caching_disabled: n/a amp_css_transient_caching_threshold: 5000 transients per day amp_css_transient_caching_sampling_range: 14 days amp_css_transient_caching_transient_count: 50 amp_css_transient_caching_time_series:
@ishubhammishra Thanks for the update. It may be a case whereby your theme, theme extensions or additional plugins are also using
is_amp_endpoint
.Can you check for the same issue with another theme temporarily deactivated? If that results in the same error we can troubleshoot with some of the plugins you have active.
Tried changing the theme to default 2020 theme with all plugins deactivated only sit kit plugin and amp plugin were active but still on the wp-login page the error is coming.
Then at last deactivated site kit plugin. (now only amp was active ) — the error on wp login is gone.
reactivated the site kit plugin. error appeared again
@ishubhammishra just following up on your topic here to let you know that we’ll check with the team about this. Thanks for reporting and we’ll come back to you with more information.
@ishubhammishra we’ll be working on a fix for this issue here. Feel free to follow it on Github. We’ll also update your topic on the progress.
With Latest version 1.10.0 My issue is not resolved. Thank You.
Best Support System. It Was Quick.
@ishubhammishra Thanks for providing an update. If the issue persists can you try delete the plugin in full before installing once more?
Now my issue is resolved. Thank You.
Best Support System.
@ishubhammishra Good to hear, thanks for the update.
- The topic ‘Issue With AMP Plugin’ is closed to new replies.