Support » Plugin: HTML5 jQuery Audio Player » Fatal error: Cannot redeclare my_admin_scripts()

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Maeve Lander


    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.

    Worked! Thanks. Excellent plugin! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Cannot redeclare my_admin_scripts()’ is closed to new replies.