Fatal error: Uncaught ArgumentCountError: Too few arguments to function RTMediaI
-
Our website currently runs rtMedia v4.6.2. Immediately after updating Yoast SEO from v13.5 to either v14.0 or v14.1 our front page breaks and shows this error message:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function RTMediaInteraction::rtmedia_wpseo_og_image(), 0 passed in /home/astakore/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 1 expected in /home/astakore/public_html/wp-content/plugins/buddypress-media/app/main/interactions/RTMediaInteraction.php:312 Stack trace: #0 /home/astakore/public_html/wp-includes/class-wp-hook.php(287): RTMediaInteraction->rtmedia_wpseo_og_image() #1 /home/astakore/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #2 /home/astakore/public_html/wp-includes/plugin.php(544): WP_Hook->do_action(Array) #3 /home/astakore/public_html/wp-includes/plugin.php(660): do_action_ref_array(‘wpseo_opengraph’, Array) #4 /home/astakore/public_html/wp-content/plugins/wordpress-seo/src/integrations/front-end/backwards-compatiblity.php(60): do_action_deprecated(‘wpseo_opengraph’, Array, ‘14.0’, ‘wpseo_frontend_…’) #5 /home/astakore/public_html/wp-includes/class-wp-hook.php(287): Yoast\WP\SEO\Integrat in /home/astakore/public_html/wp-content/plugins/buddypress-media/app/main/interactions/RTMediaInteraction.php on line 312
There has been a critical error on your website.The backend of WP doesn’t break, so we had the option to rollback the Yoast update to v13.5 again. After that everything worked fine again. But something in the interaction between rtMedia and Yoast is going wrong. What is causing it?
Please note that the Yoast update only breaks the rtMedia plugin, there are no other errors. And we would like to be able to update Yoast of course.
- The topic ‘Fatal error: Uncaught ArgumentCountError: Too few arguments to function RTMediaI’ is closed to new replies.