HTML5 jQuery Audio Player
[resolved] Fatal error: Cannot redeclare my_admin_scripts() (3 posts)

  1. andrebazaglia
    Posted 3 years ago #


    I am unable to activate the plugin. Everytime I tries I get this message:

    Fatal error: Cannot redeclare my_admin_scripts() in /var/www/wp-content/plugins/html5-jquery-audio-player/index.php on line 232

    I'm using the latest plugin version and WordPress 3.5. What should I do?

    Thank you very much.


  2. Maeve Lander
    Plugin Author

    Posted 3 years ago #

    Sounds like you might have another plugin or theme that is already using the name my_admin_scripts() The solution is to change the name to something unique. You could change the one in your theme or the other plugin, or in this plugin in index.php

    Do be aware that if you make customisations to a plugin then if you update it in the future you'll overwrite the change, so if it's the theme better to do it there than in the plugin, however if it's another plugin then it is unavoidable so just pick one and make sure you remember it if you update.

    Hope this helps.

  3. andrebazaglia
    Posted 3 years ago #

    Worked! Thanks. Excellent plugin! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • HTML5 jQuery Audio Player
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.