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

  1. Chip Bennett
    Theme Review Admin
    Posted 4 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.


  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 4 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