• Resolved bionitagmail

    (@bionitagmail)


    After updating to Yoast v14.0 I get a fatal error on all my pages but ONLY if I view the AMP version of my site. If I disable Yoast, the error is gone too. Please help!

    here is a sample error:

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function Yoast\WP\SEO\Integrations\Third_Party\WooCommerce::title(), 1 passed in /home2/raidersr/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in /home2/raidersr/public_html/wp-content/plugins/wordpress-seo/src/integrations/third-party/woocommerce.php:86 Stack trace: #0 /home2/raidersr/public_html/wp-includes/class-wp-hook.php(287): Yoast\WP\SEO\Integrations\Third_Party\WooCommerce->title(‘Stiri si Opinii…’) #1 /home2/raidersr/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘Stiri si Opinii…’, Array) #2 /home2/raidersr/public_html/wp-content/plugins/accelerated-mobile-pages/templates/features.php(1659): apply_filters(‘wpseo_title’, ‘Stiri si Opinii…’) #3 /home2/raidersr/public_html/wp-includes/class-wp-hook.php(287): ampforwp_add_custom_title_tag(NULL) #4 /home2/raidersr/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(NULL, Array) #5 /home2/raidersr/public_html/wp-includes/general-template.ph in /home2/raidersr/public_html/wp-content/plugins/wordpress-seo/src/integrations/third-party/woocommerce.php on line 86

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

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error after updating Yoast’ is closed to new replies.