WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Open Graph Meta Tags for WordPress
[resolved] [Plugin: Wonderm00n's Simple Facebook Open Graph Meta Tags] Undefined variable html patch (3 posts)

  1. flynsarmy
    Member
    Posted 1 year ago #

    This plugin is generating the following warning and filling up error logs:

    Notice: Undefined variable: html in /var/www/work/qpsmedia/regionblogs/wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/wonderm00n-open-graph.php on line 187

    On line 187 change
    $html.='<!-- START - Wonderm00n\'s Simple
    to
    $html='<!-- START - Wonderm00n\'s Simple

    http://wordpress.org/extend/plugins/wonderm00ns-simple-facebook-open-graph-tags/

  2. flynsarmy
    Member
    Posted 1 year ago #

    Notice: Undefined variable: fb_show_allinoneseo in /var/www/work/qpsmedia/regionblogs/wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/wonderm00n-open-graph.php on line 80

    Change line 80 from:
    if ($fb_show_allinoneseo==1) {
    to:
    if ( isset($fb_show_allinoneseo) && $fb_show_allinoneseo==1) {

    Notice: Undefined variable: fb_show_platinumseo in /var/www/work/qpsmedia/regionblogs/wp-content/plugins/wonderm00ns-simple-facebook-open-graph-tags/wonderm00n-open-graph.php on line 87

    Change line 87 from:
    if ($fb_show_platinumseo==1) {
    to:
    if ( isset($fb_show_platinumseo) && $fb_show_platinumseo==1) {

  3. wonderm00n
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks. I'm going to release a new version with this fixed.
    If you find any other similar issues just ring me a bell at @wonderm00n on Twitter.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.