WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
2 bugs (6 posts)

  1. thomask
    Member
    Posted 1 year ago #

    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/

  2. MohamedAlaa
    Member
    Posted 1 year ago #

    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

  3. Jeremy Herve
    Member
    Posted 1 year ago #

    Not a proper solution, I know, but if you set WP_DEBUG to false in your wp-config.php file, the notice will disappear.

  4. thomask
    Member
    Posted 1 year ago #

    ROFL. "I see a bug" "Solution: close your eyes" ;-)

  5. Jeremy Herve
    Member
    Posted 1 year ago #

    @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 fixes the issue in the next release...

  6. thomask
    Member
    Posted 1 year ago #

    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 ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags