Forum Replies Created

Viewing 15 replies - 1 through 15 (of 4,526 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @2etpesam

    I’m glad you were able to figure out the issue. If you have time, please explain the issue and how you resolved it in the thread so that others who may be facing the same issue can benefit from your experience.

    Plugin Support Milind More

    (@milindmore22)

    Hello @3xploiton3

    As the message suggested the amp_has_paired_endpoint is being called incorrectly meaning it has been used before the the amp plugin has not been fully loaded, if you have third-party plugin, theme or small code snippet that you is using amp_has_paired_endpoint hook please make sure to use it after the wp hook it will make sure that AMP plugin is fully loaded.

    eg:

    add_action( 'wp', function() {
    // use
    amp_has_paired_endpoint here.
    });
    Plugin Support Milind More

    (@milindmore22)

    @mattpramschufer As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Plugin Support Milind More

    (@milindmore22)

    @passionsadnplaces

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Plugin Support Milind More

    (@milindmore22)

    Hello @mattpramschufer

    Thank you for reaching out to us, Your site may be using plugin or theme which might be conflicting with site scan feature. But you can still Visit Dashboard->AMP->Other->toggle ON “Enable Developer Tools” this will provide you with access to the AMP validation tool where you can find no-AMP compatible plugins and themes.

    To narrow down further to find plugin or theme affecting, could you use the Health Check & Troubleshooting plugin and enable its troubleshooting mode.

    This mode disables active plugins and switches to a default theme safely since it only affects the experience of the logged-in user.

    • Please enable the AMP plugin and let me know if the issue is present.
    • Enabling plugins and your theme one by one in this mode may help pinpoint if something else is involved.
    • Note you can disable troubleshooting mode from the plugins page.

    We hope this helps!

    Plugin Support Milind More

    (@milindmore22)

    Hello @passionsadnplaces

    Thank you for reaching out to us, The message is sourcing from AMP plugin, As AMP pages are being served on mobile it’s likely that it only appears on mobile

    In a normal (non-AMP) site, when a user clicks “Submit,” the page usually refreshes. However, AMP requires forms to submit via “AJAX” (in the background without a refresh).

    The AMP plugin tries to “upgrade” your existing contact form to work this way. When the form is submitted, the server sends back a “200 OK” signal, but it doesn’t include a specific “Success Message” in a format that AMP understands. Because the plugin is “unsure” if the data actually reached its destination correctly, it shows that generic, cautious green box.

    How to fix it

    AMP handles redirects much better than “on-page” success messages.

    In your form settings (Contact Form 7, WPForms, etc.), set the form to Redirect to a new URL (e.g., yoursite.com/thank-you) upon successful submission.

    If you are a developer or have one, you need to modify the code that handles the form submission to send a specific JSON response. Instead of a generic success, the server needs to return a JSON object that includes a message.

    eg: As we are unsure which form plugin or form service you are using, I’m giving a generic response example

    if ( wp_is_json_request() ) {
        $message = __( 'Thank you! Your message has been sent.', 'text-domain' );
        wp_send_json( compact( 'message' ), 200 );
    }

    We hope this helps!

    Plugin Support Milind More

    (@milindmore22)

    Hello @educationnewshub

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Plugin Support Milind More

    (@milindmore22)

    Hello @robdasailorgmailcom

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Plugin Support Milind More

    (@milindmore22)

    @inspirejournal24 As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Plugin Support Milind More

    (@milindmore22)

    @ozkutlusan As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Plugin Support Milind More

    (@milindmore22)

    @jhams As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

    Plugin Support Milind More

    (@milindmore22)

    Hello @educationnewshub

    Thanks for the update. As I checked your website on AMP test, it no longer shows any errors, indicating that your AMP pages are now valid. The warning from the search console will clear automatically within 2-3 weeks once Google bots re-crawl your website for updates.

    We hope this helps!

    Plugin Support Milind More

    (@milindmore22)

    Hello @robdasailorgmailcom

    Thanks for reporting this error and providing the log information! That PHP warning is definitely something we need to look into, especially since it’s interfering with your Block Editor (Gutenberg) experience.

    The specific warning:

    PHP Warning: Undefined array key “type” in /wordpress/plugins/amp/2.5.5/includes/validation/class-amp-validation-manager.php on line 1317

    …is coming from the AMP plugin (version 2.5.5). It indicates that the validation manager is trying to access an array element with the key “type”, but that key doesn’t exist at that point, causing the warning. While this is technically a warning and not a fatal error, PHP warnings can sometimes break page execution or, in this case, prevent the editor from loading correctly, especially within a highly validated environment like AMP.

    Since you are using a simple WordPress.com install, and everything is up-to-date. This likely points to an incompatibility or a bug triggered by a specific piece of content or configuration on your site.

    Can you please share the link for the post where you are getting the warning? So we can debug this further.

    Plugin Support Milind More

    (@milindmore22)

    Hello @educationnewshub

    Thank you so much for sending over your site health information! We really appreciate you taking the time to gather that for us; it helps immensely with troubleshooting.

    We’ve been looking into the issue, and root cause appears to be the presence of an injected script, specifically the one starting with <script data-cfasync="false" nonce="..."> which seems to be related to a service called Zaraz.

    While your site health report didn’t pinpoint a specific plugin adding this script, the script itself looks like it’s being introduced by an external service, often Cloudflare.

    Here is what we recommend you investigate:

    🔎 Actionable Steps to Investigate and Resolve
    Check Cloudflare Settings:

    – Log in to your Cloudflare dashboard for this domain.

    – Navigate to the Speed section.

    – Look for an option called Zaraz (formerly known as ‘Cloudflare Apps’ or ‘Cloudflare Insights’) or anything related to Analytics/Performance tools.

    If you find it, please turn it off or disable the tool that is injecting the Zaraz script.

    Theme or Custom Code:

    – If you are not using Cloudflare, please check if your theme or any custom code snippets (like those added via a child theme or an Insert Headers/Footers plugin) might be inserting this script.

    The script that has been added to site:

    <script data-cfasync="false" nonce="ad809f7c-0569-4d56-aa26-56c8df720de8">...</script>

    …is a very strong indicator of a third-party performance/analytics service, with Cloudflare being the most common source for the cdn-cgi/zaraz path mentioned inside the code.

    Once you have identified and disabled the setting responsible for injecting this script, please clear all your caches (including any caching plugins and Cloudflare cache), and check if the issue is resolved.

    Thanks again for your patience as we continue to work on this together!

    Let us know what you find in your Cloudflare settings.

    Plugin Support Milind More

    (@milindmore22)

    Hello @educationnewshub

    Thank you for reaching out to us. Could you please help us understand your setup better? One of the plugins you’re using is adding scripts to your AMP pages, which are making them invalid.

    It appears that the script is related to Cloudflare. Could you please provide your site’s health information using this form? so we can debug it further

Viewing 15 replies - 1 through 15 (of 4,526 total)