Fatal error: Uncaught Error: Call to a member function canonical() on null in /home/ftwd/public_html/wp-content/plugins/glue-for-yoast-seo-amp/classes/class-frontend.php:162 Stack trace: #0 /home/ftwd/public_html/wp-includes/class-wp-hook.php(288): YoastSEO_AMP_Frontend->fix_amp_post_data(Array) #1 /home/ftwd/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /home/ftwd/public_html/wp-content/plugins/amp/includes/templates/class-amp-post-template.php(156): apply_filters('amp_post_templa...', Array, Object(WP_Post)) #3 /home/ftwd/public_html/wp-content/plugins/amp/amp.php(328): AMP_Post_Template->__construct(Object(WP_Post)) #4 /home/ftwd/public_html/wp-content/plugins/amp/amp.php(280): amp_render_post(Object(WP_Post)) #5 /home/ftwd/public_html/wp-includes/class-wp-hook.php(286): amp_render('') #6 /home/ftwd/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(false, Array) #7 /home/ftwd/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #8 /home/ftwd/public_h in /home/ftwd/public_html/wp-content/plugins/glue-for-yoast-seo-amp/classes/class-frontend.php on line 162