Title: [Plugin: WordPress SEO by Yoast] 2 bugs
Last modified: August 20, 2016

---

# [Plugin: WordPress SEO by Yoast] 2 bugs

 *  [thomask](https://wordpress.org/support/users/thomask/)
 * (@thomask)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-2-bugs/)
 * 1. – there is still a bug in meta, when you are using %%excerpt%% with replacing
   utf-8 chars with ? – i guess you are using htmlentities or htmlspecialchars without
   utf-8 variable.
 * 2. – with the newest version another error notice appears:
    Notice: Undefined
   property: WPSEO_OpenGraph::$facebook_plugin in /var/www/projects/zdrojak/htdocs/
   public/soubory/plugins/wordpress-seo/frontend/class-opengraph.php on line 40
 * [http://wordpress.org/extend/plugins/wordpress-seo/](http://wordpress.org/extend/plugins/wordpress-seo/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [MohamedAlaa](https://wordpress.org/support/users/mohamedalaa/)
 * (@mohamedalaa)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-2-bugs/#post-3078507)
 * i confirm, After the update i got the following error:
 * `Notice: Undefined property: WPSEO_OpenGraph::$facebook_plugin in C:\XXXX\wp-
   content\plugins\wordpress-seo\frontend\class-opengraph.php on line 40`
 *  [Jeremy Herve](https://wordpress.org/support/users/hd-j/)
 * (@hd-j)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-2-bugs/#post-3078512)
 * Not a proper solution, I know, but if you set WP_DEBUG to false in your wp-config.
   php file, the notice will disappear.
 *  Thread Starter [thomask](https://wordpress.org/support/users/thomask/)
 * (@thomask)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-2-bugs/#post-3078513)
 * ROFL. “I see a bug” “Solution: close your eyes” 😉
 *  [Jeremy Herve](https://wordpress.org/support/users/hd-j/)
 * (@hd-j)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-2-bugs/#post-3078514)
 * [@thomask](https://wordpress.org/support/users/thomask/) As I said,
 * > Not a proper solution, I know
 * But at least you can use the plugin on a Live site without displaying the notice
   to all your readers, until [@yoast](https://wordpress.org/support/users/yoast/)
   fixes the issue in the next release…
 *  Thread Starter [thomask](https://wordpress.org/support/users/thomask/)
 * (@thomask)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-2-bugs/#post-3078515)
 * No it is not a proper solution at all. First it is not not recommended to use
   wp_debug on production site, but it is higly recommended to run it on development
   site.
 * Second – it is not recommended to upgrade / install plugins on production site
   unless you test it first on development site.
 * So if you are following best practices, than you will see this error notice first
   on your development site and you will not put it to production one, where any
   reader would see it.
 * And if i would need this version desperately for some reason, it would be probably
   much wiser to look at line 40 of class-opengraph.php, then you will se, that 
   it is checking value of $this->facebook_plugin, which is not defined in the class,
   nor its parent class and depending on your needs you would write something like
   var $facebook_plugin = false; And of course informing the developer, what is 
   what i did here 😉

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: WordPress SEO by Yoast] 2 bugs’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [bugs](https://wordpress.org/support/topic-tag/bugs/)

 * 5 replies
 * 3 participants
 * Last reply from: [thomask](https://wordpress.org/support/users/thomask/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-2-bugs/#post-3078515)
 * Status: not resolved