WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
PHP Notice: undefined index (2 posts)

  1. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    PHP notice:

    Notice: Undefined index: in /[path]/wp-content/plugins/simple-facebook-connect/sfc-base.php on line 557

    Caused by this line:

    if (preg_match('|http://[^/]*youtube\.com/v/([^/?&]+)|i', $video[''], $matches) ) {

    I assume the $matches array isn't set in this particular context? Don't have time to dig through to fix it; but I thought I'd at least report it.

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    No, it's the $video[''] bit there that is undefined. I'll take a look.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic