Fatal error: Uncaught Error: Call to a member function canonical() on null in /home/viacomit/viacomit.net/wp-content/plugins/glue-for-yoast-seo-amp/classes/class-frontend.php:162
Stack trace:
#0 /home/viacomit/viacomit.net/wp-includes/class-wp-hook.php(300): YoastSEO_AMP_Frontend->fix_amp_post_data(Array)
#1 /home/viacomit/viacomit.net/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#2 /home/viacomit/viacomit.net/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(156): apply_filters('amp_post_templa...', Array, Object(WP_Post))
#3 /home/viacomit/viacomit.net/wp-content/plugins/amp/amp.php(327): AMP_Post_Template->__construct(Object(WP_Post))
#4 /home/viacomit/viacomit.net/wp-content/plugins/amp/amp.php(279): amp_render_post(Object(WP_Post))
#5 /home/viacomit/viacomit.net/wp-includes/class-wp-hook.php(298): amp_render('')
#6 /home/viacomit/viacomit.net/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#7 /home/viacomit/viacomit.net/wp-includes/plugin.php(453): WP_H in /home/viacomit/viacomit.net/wp-content/plugins/glue-for-yoast-seo-amp/classes/class-frontend.php on line 162