Okay
  Public Ticket #3050015
Fatal error caused by MP3 player
Closed

Comments

  • Robert Phillips-Legge started the conversation

    So many problems with this system.  Now that can actually activate the player without it crashing my site, I've run into another fatal error on trying to edit a product. In addition the player  just ignores all the shortcodes I've used.  Here are the shortcodes

    [sonaar_audioplayer audio_meta_field="mp3" display_control_artwork=”false” progressbar_inline=”true” show_meta_duration=”true" show_volume_bt="true"”]

    What this looks like is in the attachment. You can see that all bar the meta field are ignored. 

    Worse though is if you try to edit the product you get this


    Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 815104 bytes) in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/functions.php on line 5219

    Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 24576 bytes) in Unknown on line 0

    So I doubled the memory allocation in PHP and got

    Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 815104 bytes) in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/functions.php on line 5219

    How much memory does this actually need? Disable the Pro add-on and everything is fine.



    Attached files:  Sonaar.png

  •  1,103
    Max replied

    Hi Robert,

    Let's fix the fatal error first. The issue you have is caused by your server that has not had enough memory to load WordPress Edit tools AND all the 56 plugins you are using. If you deactivate some other plugins, you get more memory and it works, so it's really a server resource issue here.

    Please contact your hosting provider about this so they know the best way to raise server resources in your case.

    Once server memory is fixed, let me know and Ill check the shortcode issue

    Thanks,


    Max from the Sonaar.io Crew

  • Robert Phillips-Legge replied

    OK, I've ramped the memory allocation up to 8096M which seems to have done the trick, but I do find it hard to believe that a website that functioned on 1024M fails solely on the activation of the Sonaar Pro plugin. On the short codes, I've worked out some of them, but still find others don't appear to function. One thing I'd like to stop is the auto play on opening the page and that second now is that the play loops, no_loop_tracklist=”true” appearing not to do anything.the current shortlist looks like this

    [sonaar_audioplayer  audio_meta_field="mp3" player_layout="skin_boxed_tracklist" hide_progressbar="false" display_control_artwork="false" hide_artwork="true" show_playlist="false" show_track_market="false" show_album_market="false" hide_timeline="false" no_loop_tracklist=”false” wave_color="#ffffff" wave_progress_color="#000000"][/sonaar_audioplayer]

  •  1,103
    Max replied

    Hi,

    For the auto-play on opening the page, I cant seem to be able to replicate your issue. Can you elaborate on the steps you do to reproduce the issue on my end?

    For the no_loop_tracklist=”false” in your shortcode, it looks like the double quotes are formatted incorrectly.

    try no_loop_tracklist="false" 

    There is a small difference between these double quotes: " and these ones: ”


    Thanks,


    Max from the Sonaar.io Crew

  • Robert Phillips-Legge replied

    HI Max


    I think the auto play might have been a coincidence.  I'd been editing the page and on returning from that playing started instantly. However, the No-Loop still isn't working.  I'll do some more playing around with that.


    R

  •  1,103
    Max replied

    Try to use notrackskip="true" instead

    Thanks,


    Max from the Sonaar.io Crew

  • Robert Phillips-Legge replied

    Sorry, that doesn't work either


  •  1,103
    Max replied

    Could 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

  •   Robert Phillips-Legge replied privately
  •  1,103
    Max replied

    Hi,

    On which page can I see one of your audio player ? When I go to the URL you have submitted, I receive a 404 not found (https://chimesmusic.online/product/hungarian-dance-no-5)

    Thanks,


    Max from the Sonaar.io Crew

  • Robert Phillips-Legge replied

    Sorry about that, there's only about 700 (from 77,000) products with an MP3


    https://chimesmusic.online/product/atlantic-legend

    or

    https://chimesmusic.online/product/concerto-60

  •  1,103
    Max replied

    Hi,

    when I go here https://chimesmusic.online/product/atlantic-legend and I click Play A Sample, the track stop when its complete...It does not seems to loop. See video I have recorded: https://d.pr/v/OpnyWv

    Thanks,


    Max from the Sonaar.io Crew

  • Robert Phillips-Legge replied

    OK., that could be because after posting earlier I tried placing both no_loop_tracklist="false" and notrackskip="true"in the shortcode, but wasn't able to test it before I got called to sort a data issue out. 

    I'm still getting  this error message on the plugin page.

    Warning: Undefined array key "sonaar-music-pro/sonaar-music-pro.php" in /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/sonaar-music-pro/admin/class-sonaar-music-pro-admin.php on line 370

  •  1,103
    Max replied

    Hi,

    the warning will be fixed in the next plugin update.

    In the meantime, don't worry with this warning, it does not affect anything, its just check the license key at a certain interval.

    Thanks,


    Max from the Sonaar.io Crew

  • Robert Phillips-Legge replied

    Thansk Max


    best retgards


    ROb