I'm having issues updating the Sonaar mp3 music player.
There was some conflicting code with the mp3 player that brought down my site. Entering recovery mode, I discovered that Earlier the base mp3 player and pro add on were at different versions. I deleted and updated the pro player, but still couldn't get the base mp3 player to activate. I deleted and reinstalled it, but in the Wordpress console I am still receiving the message:
"Plugin could not be activated because it triggered a fatal error."
An error of type E_PARSE was caused in line 451 of the file /home1/xdilpgmy/public_html/wp-content/plugins/mp3-music-player-by-sonaar/includes/class-sonaar-music.php. Error message: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')'
Hello,
I'm having issues updating the Sonaar mp3 music player.
There was some conflicting code with the mp3 player that brought down my site. Entering recovery mode, I discovered that Earlier the base mp3 player and pro add on were at different versions. I deleted and updated the pro player, but still couldn't get the base mp3 player to activate. I deleted and reinstalled it, but in the Wordpress console I am still receiving the message:
"Plugin could not be activated because it triggered a fatal error."
Please advise.
Hi,
You are probably using php prior 7.4. Make sure to use php 7.4 or higher.
We will release an update this week that will fix issue with old php version but still, its really not recommended to use a end of life php version.
Thanks,
Max from the Sonaar.io Crew
I just updated my PHP version and am still receiving the error.
Downgrading the mp3 player for now to get it working, and will check in again after the update.
Thanks,
-Sean H
FYI, here is the error code:
An error of type E_PARSE was caused in line 451 of the file /home1/xdilpgmy/public_html/wp-content/plugins/mp3-music-player-by-sonaar/includes/class-sonaar-music.php. Error message: syntax error, unexpected '=>' (T_DOUBLE_ARROW), expecting ')'
Hi,
Please update MP3 Audio Player by Sonaar to version 5.0.3 that we have just released.
Tell me if it works after you updated to version 5.0.3
Thanks,
Max from the Sonaar.io Crew