Title: Fatal Error
Last modified: August 22, 2016

---

# Fatal Error

 *  Resolved [steveb123](https://wordpress.org/support/users/steveb123/)
 * (@steveb123)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-1524/)
 * Hi,
 * Plugin was working perfectly.
 * I now get this error message
    `Fatal error: Uncaught exception 'Exception' with
   message 'SimpleXMLElement::__construct() expects parameter 1 to be string, array
   given' in /home/peebee/2015_html/wp-content/plugins/srizon-youtube-album-pro/
   srizon-yt-album-front.php:140 Stack trace: #0 /home/peebee/2015_html/wp-content/
   plugins/srizon-youtube-album-pro/srizon-yt-album-front.php(140): SimpleXMLElement-
   >__construct(Array) #1 /home/peebee/2015_html/wp-content/plugins/srizon-youtube-
   album-pro/srizon-yt-album-front.php(95): srz_yt_xml_to_array(Array) #2 /home/
   peebee/2015_html/wp-content/plugins/srizon-youtube-album-pro/srizon-yt-album-
   front.php(23): srz_yt_get_album_api(Array) #3 [internal function]: srz_yt_album_shortcode(
   Array, '', 'srizonytalbum') #4 /home/peebee/2015_html/wp-includes/shortcodes.
   php(283): call_user_func('srz_yt_album_sh...', Array, '', 'srizonytalbum') #5[
   internal function]: do_shortcode_tag(Array) #6 /home/peebee/2015_html/wp-includes/
   shortcodes.php(197): preg_replace_callback('/\[(\[?)(embed|...', 'do_shortcode_ta...','[
   srizonytalbum ... in /home/peebee/2015_html/wp-content/plugins/srizon-youtube-
   album-pro/srizon-yt-album-front.php on line 140`
 * This occurs with all other plugins disabled. When they are enabled I get “Exception
   thrown without a stack frame in Unknown on line 0”
 * [https://wordpress.org/plugins/srizon-responsive-youtube-album/](https://wordpress.org/plugins/srizon-responsive-youtube-album/)

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

 *  Thread Starter [steveb123](https://wordpress.org/support/users/steveb123/)
 * (@steveb123)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-1524/#post-5805663)
 * Re-installation worked
 * Sorry to bother you
 *  Plugin Author [afzal_du](https://wordpress.org/support/users/afzal_du/)
 * (@afzal_du)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-1524/#post-5805748)
 * No prob! Good to know that it’s working 🙂
 *  [ssmediaco](https://wordpress.org/support/users/ssmediaco/)
 * (@ssmediaco)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1524/#post-5805952)
 * I to have encounted this issue after moving the site from the testing environment
   to the live site. The site was on the same server, only moved from a sub-directory
   to the root. Any advice would be appreciated. Should note that both the free 
   and pro version of the the plugin are running currently, well the pro isn’t running,
   I can’t install it, but both were running in the sub directory.
 * Plugin could not be activated because it triggered a fatal error.
    Fatal error:
   Cannot redeclare srz_yt_install() (previously declared in /home3/newhope/public_html/
   wp-content/plugins/srizon-responsive-youtube-album/srizon-yt-album.php:22) in/
   home3/newhope/public_html/wp-content/plugins/srizon-youtube-album-pro/srizon-
   yt-album.php on line 30
 *  [ssmediaco](https://wordpress.org/support/users/ssmediaco/)
 * (@ssmediaco)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1524/#post-5805953)
 * Fixed. Deleted the code from the DB and reinstalled just the pro version.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/srizon-responsive-youtube-album.svg)
 * [Srizon Responsive Youtube Album](https://wordpress.org/plugins/srizon-responsive-youtube-album/)
 * [Support Threads](https://wordpress.org/support/plugin/srizon-responsive-youtube-album/)
 * [Active Topics](https://wordpress.org/support/plugin/srizon-responsive-youtube-album/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/srizon-responsive-youtube-album/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/srizon-responsive-youtube-album/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [ssmediaco](https://wordpress.org/support/users/ssmediaco/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-1524/#post-5805953)
 * Status: resolved