Title: Fatal Error when using shortcode
Last modified: August 21, 2016

---

# Fatal Error when using shortcode

 *  Resolved [trustmrtwo](https://wordpress.org/support/users/trustmrtwo/)
 * (@trustmrtwo)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-when-using-shortcode/)
 * I’m trying to list all my post organized by Category on a single page. I’m using
   this plugin to do that.
 * However, after configuring the categories in the widget area and adding them 
   to ‘shortcodes’ area, I get the following message.
 *  Fatal error: Call to undefined function aero_get_youtube_data() in /home/ellie/
   public_html/wp-content/themes/confidence/aero/aero-custom-functions.php on line
   380
 * I’m going to be displaying about 300+ posts on this single page. Just a thumbnail
   image and the post title with a link to that post.
 * Does anyone know what is going on?
 * My understanding of coding is BASIC.
 * Thanks in advance!
 * [http://wordpress.org/plugins/amr-shortcode-any-widget/](http://wordpress.org/plugins/amr-shortcode-any-widget/)

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

 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-when-using-shortcode/#post-4318510)
 * sounds like some widget plugin code is not loaded when it is called from the 
   shortcode.
 * does it work when just a widget ?
 * not much my plugin can do as it just executes the widget. up to the widget plugins
   how/when their code is loaded
 *  Thread Starter [trustmrtwo](https://wordpress.org/support/users/trustmrtwo/)
 * (@trustmrtwo)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-when-using-shortcode/#post-4318541)
 * I figured it out. IT was calling for a youtube video/post and there is probably
   something wrong with the theme. I removed that from my list of posts to display
   using your plugin, problem solved.
 * Thanks for your response!
 * Chris

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

The topic ‘Fatal Error when using shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amr-shortcode-any-widget_dde8e5.svg)
 * [amr shortcode any widget](https://wordpress.org/plugins/amr-shortcode-any-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amr-shortcode-any-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amr-shortcode-any-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/amr-shortcode-any-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amr-shortcode-any-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amr-shortcode-any-widget/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [trustmrtwo](https://wordpress.org/support/users/trustmrtwo/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-when-using-shortcode/#post-4318541)
 * Status: resolved