Title: [Plugin: HTML5 jQuery Audio Player] Fatal error: Cannot redeclare my_admin_scripts()
Last modified: August 20, 2016

---

# [Plugin: HTML5 jQuery Audio Player] Fatal error: Cannot redeclare my_admin_scripts()

 *  Resolved [word_ding](https://wordpress.org/support/users/word_ding/)
 * (@word_ding)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-html5-jquery-audio-player-fatal-error-cannot-redeclare-my_admin_scripts/)
 * I always get a “Fatal error: Cannot redeclare my_admin_scripts() (previously 
   declared in…” every time I update because this function’s name is very generic
   and my theme uses the same function name. This is within the index.php in line
   225. I would request a less generic name for future versions. I call mine “my_jplayer_admin_scripts()”.
 * Thanks and keep up the good work.
 * [http://wordpress.org/extend/plugins/html5-jquery-audio-player/](http://wordpress.org/extend/plugins/html5-jquery-audio-player/)

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

 *  Plugin Author [Maeve Lander](https://wordpress.org/support/users/enigmaweb/)
 * (@enigmaweb)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-html5-jquery-audio-player-fatal-error-cannot-redeclare-my_admin_scripts/#post-2915531)
 * Ok thanks word_ding…. noted, and will consider the change for next version.
 *  [Abiahjoshua](https://wordpress.org/support/users/abiahjoshua/)
 * (@abiahjoshua)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-html5-jquery-audio-player-fatal-error-cannot-redeclare-my_admin_scripts/#post-2915751)
 * word_ding,
 * How did you fix this problem? Is there coding that you have to change? I have
   the same problem, and reading this topic in the forum isn’t helping me for how
   to fix it.
 * Thanks!
 * Joshua
 *  [wp_sam](https://wordpress.org/support/users/wp_sam/)
 * (@wp_sam)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-html5-jquery-audio-player-fatal-error-cannot-redeclare-my_admin_scripts/#post-2915760)
 * [@abiahjoshua](https://wordpress.org/support/users/abiahjoshua/)
 * Deactivate the plugin and follow below steps.
 * Download the file INDEX.PHP from FTP i.e – my_web_root/wordpress/wp-content/plugins/
   html_5_jquery_audio_player/
 * Open the index file using Dreamweaver or any php editor you use and press Ctrl
   + F find my_admin_scripts() and edit it for example my_music_admin_scripts() 
   save the file and upload it back in the plugin folder.
 * Activate the plugin and it will work good then.

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

The topic ‘[Plugin: HTML5 jQuery Audio Player] Fatal error: Cannot redeclare my_admin_scripts()’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/html5-jquery-audio-player_2e2e2e.
   svg)
 * [HTML5 jQuery Audio Player](https://wordpress.org/plugins/html5-jquery-audio-player/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/html5-jquery-audio-player/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/html5-jquery-audio-player/)
 * [Active Topics](https://wordpress.org/support/plugin/html5-jquery-audio-player/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/html5-jquery-audio-player/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/html5-jquery-audio-player/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [wp_sam](https://wordpress.org/support/users/wp_sam/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-html5-jquery-audio-player-fatal-error-cannot-redeclare-my_admin_scripts/#post-2915760)
 * Status: resolved