• Resolved word_ding

    (@word_ding)


    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.

    https://www.ads-software.com/extend/plugins/html5-jquery-audio-player/

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

    (@enigmaweb)

    Ok thanks word_ding…. noted, and will consider the change for next version.

    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

    @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.