Okay
  Public Ticket #2397955
Player not displaying, error on line 795
Closed

Comments

  • Christien started the conversation

    The player no longer displays on the front-end of the website and when I go to the back-end I get this error: 


    Warning: in_array() expects parameter 2 to be array, null given in /var/web/site/public_html/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php on line 795


    Please advise

    CP

  •  1,103
    Max replied

    Hi,

    please go to wp-admin   > MP3 Player > Settings and hit save.


    Thanks,


    Max from the Sonaar.io Crew

  • Christien replied

    Hi Maxime, 

    Thanks for the prompt reply. Unfortunately that did not help. Here is an example page: https://christienpaul.com/music/ 

    I noticed that there are new settings available within the plugin (enable post types, synthetic vs dynamic wave) so I gather than upgrading is what created the problem. 

    This site is a child site on a wordpress multisite network... there is another site on this network where the player is broken as well... https://navithenorth.com 

    Please advise

  •  1,103
    Max replied

    Simply resaving the settings should resolve the issue!

    If it does not work for you, please provide me access to your wp-admin and I will gladly check the issue you have.


    Thanks,


    Max from the Sonaar.io Crew

  •   Christien replied privately
  •  1,103
    Max replied

    Hi,

    if you are using the pro version, make sure that BOTH free and pro version are updated to version 2.0

    if automatic update does not work, delete the plugin then redownload it from your Sonaar.io account. (My Account > Downloads tabs). And reinstall it. You won't lose anything. 

    Thanks,


    Max from the Sonaar.io Crew

  • Christien replied

    Seems they were out of date but I didn't get a notification within WordPress or by email about this... why is that? Upgrading fixed the problem but now I'm nervous about not getting notified about the next update. Please advise. 

  •  1,103
    Max replied

    You should get updates from now. we have fixed an issue with the plugin updater script in the last plugin update

    Thanks,


    Max from the Sonaar.io Crew