Title: Deprecation error notice
Last modified: May 6, 2020

---

# Deprecation error notice

 *  [Micemade](https://wordpress.org/support/users/anydog/)
 * (@anydog)
 * [6 years ago](https://wordpress.org/support/topic/deprecation-error-notice/)
 * Hi,
 * After the latest bulk updates on my site, the deprecation error appeared:
 * > Deprecated: wpseo_opengraph is deprecated since version 14.0! Use wpseo_frontend_presenters
   > instead.
 * I found the `wpseo_opengraph` hook in **polylang** > modules > plugins > wpseo.
   php, line 38:
 *     ```
       add_action( 'wpseo_opengraph', array( $this, 'wpseo_ogp' ), 2 );
       ```
   
 * so, I changed it to:
 *     ```
       add_action( 'wpseo_frontend_presenters', array( $this, 'wpseo_ogp' ), 2 );
       ```
   
 * The error is gone, however, I’m not sure that action hooked does what it needs
   to do …
 * The `wpseo_opengraph` action is deprecated since Yoast SEO v.14.0. (August 2019.)
 * I hope you’ll consider adding a fix for this for the next Polylang update! 🙂
 * Thanks
    Have a great day
    -  This topic was modified 6 years ago by [Micemade](https://wordpress.org/support/users/anydog/).

The topic ‘Deprecation error notice’ is closed to new replies.

 * ![](https://ps.w.org/polylang/assets/icon-256x256.png?rev=3433336)
 * [Polylang](https://wordpress.org/plugins/polylang/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/polylang/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/polylang/)
 * [Active Topics](https://wordpress.org/support/plugin/polylang/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/polylang/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/polylang/reviews/)

## Tags

 * [deprecation](https://wordpress.org/support/topic-tag/deprecation/)
 * [wpseo](https://wordpress.org/support/topic-tag/wpseo/)
 * [wpseo_opengraph](https://wordpress.org/support/topic-tag/wpseo_opengraph/)

 * 0 replies
 * 1 participant
 * Last reply from: [Micemade](https://wordpress.org/support/users/anydog/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/deprecation-error-notice/)
 * Status: not resolved