WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Bug: PHP error for YouTube shortcode embeds in 1.6.1 (2 posts)

  1. AngusP
    Member
    Posted 1 year ago #

    I get the PHP error

    Notice: Undefined index: list in /Applications/XAMPP/xamppfiles/htdocs/wp-content/plugins/jetpack/modules/shortcodes/youtube.php on line 152

    above every YouTube video embedded in a post.

    It's a subdomain multisite install with multiple instances of jetpack, and as you can see it's run by XAMPP for Mac, using PHP 5.3.1. WordPress version 3.4.1. None of the other multisite sites have YouTube videos embedded by jetpack.

    http://wordpress.org/extend/plugins/jetpack/

  2. Michael Adams (mdawaffe)
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for letting us know about the problem.

    This has been fixed in the in-development version of Jetpack: http://plugins.trac.wordpress.org/changeset/587005

    I'm not sure when the next bug fix release will be, but my guess is sometime next week.

    Note that the error would not be visible to your visitors if you had your PHP ini's display_errors set to false. display_errors should never be set to true on a production server.

    http://php.net/manual/en/errorfunc.configuration.php#ini.display-errors

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic