WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Remove PHP Notices (1 post)

  1. Corey
    Member
    Posted 2 years ago #

    Posting this here also as it looks like the bug site isn't checked very often.

    There are several PHP notices that show up when defining WP_DEBUG to TRUE.

    1. /admin/class-metabox.php [Line 437] - Undefined variable $datestr

    Easy fix, just add $datestr = '' before if statement.

    2. /admin/class-config.php [Line 1172] - Undefined index fb_admins

    Easy fix, just add isset($options['fb_admin']) && before rest of if statement.

    3. /admin/class-config.php [Line 943] – Undefined index enablexmlsitemap

    Easy fix, add isset($options['enablexmlsitemap']) && to beginning of if statement.

    4. /admin/yst_plugin_tools.php [Line 340] - Undefined variable sbug and s

    Easy fix, use single quotes or escape dollar sign.

    That’s all I’ve found so far.

    http://wordpress.org/extend/plugins/wordpress-seo/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic