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

    (@westonruter)

    The amp-analytics element must be inside the body, not the head. I’m not sure how you’re including it in the template, but it needs to be moved.

    There is also a warning about the amp-ad extension missing. You can add it by placing the following in your theme’s functions.php:

    add_filter( 'amp_post_template_data', function( $data ) {
    	$data['amp_component_scripts'] = array_merge(
    		$data['amp_component_scripts'],
    		array(
    			'amp-ad' => 'https://cdn.ampproject.org/v0/amp-ad-latest.js',
    		)
    	);
    	return $data;
    } );

    There is also some JS being injected into the footer which is invalid:

    <script>'undefined'=== typeof _trfq || (window._trfq = []);'undefined'=== typeof _trfd && (window._trfd=[]),_trfd.push({'tccl.baseHost':'secureserver.net'}),_trfd.push({'ap':'cpbh'},{'server':'a2plvcpnl32706'}) // Monitoring performance to make your website faster. If you want to opt-out, please contact web hosting support.</script><script src='https://img1.wsimg.com/tcc/tcc_l.combined.1.0.6.min.js'></script>

    As noted in the comment, please contact support.

    I found these errors via the AMP validator: https://validator.ampproject.org/#url=https%3A%2F%2Funiquehunters.com%2Fgiant-jellyfish-pool-float-turns-spineless-floating-blob-woohoo%2Famp%2F

Viewing 1 replies (of 1 total)

The topic ‘Many Errors Occur After 0.60 Installed’ is closed to new replies.