Support » Plugin: AMP » URL validation failed to due to unexpected JSON in the AMP_VALIDATION comment a

  • Resolved vcninfotech

    (@vcninfotech)


    Hi

    I am using The7 theme by Dream-Theme and i installed AMP Plugin.

    After installation when i tried to activate in Paired Mode i got the error – “Paired mode activated! However, there was an error when checking the AMP validity for your site. cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received”

    After that i tried below steps which was suggested by one user who faced the same issue
    Login your Cpanel Hosting. click “seclect PHP version”. My version is PHP 7.2
    I choose “apcu”, “memcached”, “redis”, and save.
    If not yet, you continue click “Switch To PHP Options”
    change:
    “max_execution_time 300
    max_input_time 1000
    memory_limit 256M
    open_basedir no value
    post_max_size 64M
    session.save_path /tmp
    short_open_tag On
    upload_max_filesize 64M”
    AND SAVe

    After that when i tried again i got the error as below –

    “Paired mode activated! However, there was an error when checking the AMP validity for your site. URL validation failed to due to unexpected JSON in the AMP_VALIDATION comment after the body.”

    Request you to help me to get it resolved.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Please locate your PHP error log as the lack of the AMP_VALIDATION comment usually indicates that there is a PHP fatal error that is preventing it from being added.

    Plugin Author albertomedina

    (@albertomedina)

    Still having the issue? Closing as no activity for 5 days. Please report if you still having the problem and provide details.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URL validation failed to due to unexpected JSON in the AMP_VALIDATION comment a’ is closed to new replies.