Title: Shortcode Embeds Undefined Index
Last modified: August 30, 2016

---

# Shortcode Embeds Undefined Index

 *  Resolved [DavidSortOf](https://wordpress.org/support/users/davidsortof/)
 * (@davidsortof)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/)
 * At the top of my page with shortcodes, I get the following error:
 * Notice: Undefined index: visual in /home/[user]/[url]/wp-content/plugins/jetpack/
   modules/shortcodes/soundcloud.php on line 61
 * Note that the player appears correctly below.
 * Line 61 of that file:
    `$isVisual = ! $player_type || $player_type === 'visual'
   || $shortcode_options['visual'];`
 * My shortcodes look like this:
    `[soundcloud url="https://api.soundcloud.com/tracks/
   122514535" params="color=ff6600&auto_play=false&show_artwork=true" width="100%"
   height="166" iframe="true" /]`
 * Any help would be most appreciated!
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 6 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/#post-6681799)
 * Thanks for the report! We’ll get this fixed in a future release.
 * You can follow our progress here:
    [https://github.com/Automattic/jetpack/pull/2926](https://github.com/Automattic/jetpack/pull/2926)
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/#post-6681846)
 * Hi there! Do you still experience the issue on your site? We can’t seem to be
   able to reproduce the issue anymore.
 *  Thread Starter [DavidSortOf](https://wordpress.org/support/users/davidsortof/)
 * (@davidsortof)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/#post-6681848)
 * Hi Jeremy, thanks, yes I do (Just tested it). With Shortcode Embeds activated
   in Jetpack, I get the error. When I deactivate that, and activate Soundcloud 
   Shortcode, the problem goes away.
 * That’s how I have it set up now, and this is the page I’m working with, in case
   that helps: [http://www.wavydice.com/songs/](http://www.wavydice.com/songs/)
 * But I’d rather use Jetpack for this, as Shortcode Embeds would also handle youtube
   for me.
 * Let me know if you need more info to replicate this!
 * Thanks,
 * David
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/#post-6681851)
 * Is this the plugin you’re using at the moment on your site?
    [https://wordpress.org/plugins/soundcloud-shortcode/](https://wordpress.org/plugins/soundcloud-shortcode/)
 * Could you also give me an example of one of the shortcodes you’re using in that
   post?
 * Thanks!
 *  Thread Starter [DavidSortOf](https://wordpress.org/support/users/davidsortof/)
 * (@davidsortof)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/#post-6681852)
 * Thanks Jeremy, yes, that’s the plugin I’m using now. And my shortcodes look like
   this:
 * `[soundcloud url="https://api.soundcloud.com/tracks/122514535" params="color=
   ff6600&auto_play=false&show_artwork=true" width="100%" height="166" iframe="true"/]`
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/#post-6681853)
 * That’s annoying, I can’t seem to reproduce.
 * Could you let me know what other plugins are currently active on your site?
 * Thanks!
 *  Thread Starter [DavidSortOf](https://wordpress.org/support/users/davidsortof/)
 * (@davidsortof)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/#post-6681854)
 * Thanks for digging in; plugins are:
    -  Askimet
       Favicon by RealFaviconGenerator Jetpack (Custom Content Types, Protect,
      Sharing, Site Stats, Site Verification) Semalt Redirect Manager Soundcloud
      Shortcode WP Random Header
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/#post-6681855)
 * Thank you. I can’t reproduce with those plugins either, but I’ll keep digging
   in, and try to force generate the error somehow.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Shortcode Embeds Undefined Index’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [shortcode embeds](https://wordpress.org/support/topic-tag/shortcode-embeds/)
 * [soundcloud](https://wordpress.org/support/topic-tag/soundcloud/)

 * 8 replies
 * 2 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-embeds-undefined-index/#post-6681855)
 * Status: resolved