WordPress.org

Ready to get started?Download WordPress

Forums

Vixy YouTube Embed and Download
[resolved] PHP notices (3 posts)

  1. aljuk
    Member
    Posted 1 year ago #

    I'm getting the following notices intermittently, sometimes they display, sometimes they don't:

    Undefined index: vq in .../wp-content/plugins/youtube-embed/includes/generate-embed-code.php on line 237

    Notice: Undefined index: link_to_youtube in .../wp-content/plugins/youtube-embed/includes/generate-embed-code.php on line 485

    http://wordpress.org/extend/plugins/youtube-embed/

  2. Applian Technologies, Inc.
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for letting us know. That's now been fixed and we'll include it in the next release.

    If you'd like to fix it in the meantime open up the file includes/set-defaults.php from the plugin folder.

    After 232 add the following 3 lines...

    if ( !array_key_exists( 'link_to_youtube', $options ) ) { $options[ 'link_to_youtube' ] = ''; $changed = true; }
    if ( !array_key_exists( 'vixy_download', $options ) ) { $options[ 'vixy_download' ] = ''; $changed = true; }
    if ( !array_key_exists( 'vq', $options ) ) { $options[ 'vq' ] = ''; $changed = true; }

    Applian.

  3. aljuk
    Member
    Posted 1 year ago #

    Perfect! Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.