Hi @jamestigerlab did you update all plugins? Are you perhaps also using any of our add-ons? If so, as soon as that update comes out, update both Yoast SEO and the addon and this error should go away.
Hey @joostdevalk , thanks for your reply. I have updated all my plugins and didn’t use any of the Yoast add-ons.
@jamestigerlab something in your website (be it custom code, a plugin or your theme) is calling wpseo_opengraph
which we don’t use anymore since 14.0, that is the reason you see these warnings. This provides you with the opportunity to find where this is called and update the code. If you don’t want to see these warnings on the frontend of your website, you should disable WP_DEBUG or at least set the display of errors to false. Yoast will function normally regardless of you finding and fixing this wpseo_opengraph
call 🙂
@djennez I found the issue is with this plugin called Polylang. When I enable Yoast and Polylang at the same time, the warning message appear. What do you suggest me to do? And for now, I will disable WP_DEBUG as what you have suggested.
Polylang is working hard on an update, I’d suggest waiting till they’ve updated too.
@joostdevalk alright! Thanks man!
This has been solved. Updated to version 13.1 of wpseo-woocommerce. The Plugins screen did not alert us that there was an update for this plugin.
It appears that wpseo-woocommerce is using wpseo_openparagraph. Please correct me if I’m mistaken or fix if I’m correct. We are running 14.1 of Yoast SEO and 11.8 of Yoast SEO: WooCommerce. Notices go away when wpseo-woocommerce is deactivated.
Thanks!
Grep results of /wp-content/plugins/
./plugins/wpseo-woocommerce/wpseo-woocommerce.php: add_filter( ‘wpseo_opengraph_type’, array( $this, ‘return_type_product’ ) );
./plugins/wpseo-woocommerce/wpseo-woocommerce.php: add_filter( ‘wpseo_opengraph_desc’, array( $this, ‘og_desc_enhancement’ ) );
./plugins/wpseo-woocommerce/wpseo-woocommerce.php: add_action( ‘wpseo_opengraph’, array( $this, ‘og_enhancement’ ), 50 );
Also seeing:
PHP Deprecated: class-opengraph-image.php
-
This reply was modified 3 years, 11 months ago by sjferwerda.
-
This reply was modified 3 years, 11 months ago by sjferwerda. Reason: Solved