• Resolved jamestigerlab

    (@jamestigerlab)


    It shows an error message like this on the top of my website: ” Deprecated: wpseo_opengraph is deprecated since version 14.0! Use wpseo_frontend_presenters instead. in /home/i2go9408/public_html/wp-includes/functions.php on line 5088″ I have temporary disable the plugin for now. Is there any other ways I can remove the error?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Joost de Valk

    (@joostdevalk)

    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.

    Thread Starter jamestigerlab

    (@jamestigerlab)

    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 🙂

    Thread Starter jamestigerlab

    (@jamestigerlab)

    @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.

    Plugin Contributor Joost de Valk

    (@joostdevalk)

    Polylang is working hard on an update, I’d suggest waiting till they’ve updated too.

    Thread Starter jamestigerlab

    (@jamestigerlab)

    @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
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Website error after 14.0 update’ is closed to new replies.