Your Time:
Our Time:
← Back to discussions

problem with audio-player.php

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 2 replies, 2 voices, and was last updated 1 year ago by Fem.

  • 2025-08-14 at 4:31 pm
    Support Expired
    #29646
    ksadrakula
    Participant
    • Topics: 1
    • Replies: 0
    • Total posts: 1
    • Post count: 2

    Hello
    On my website, after opening the page, the following warning appears:
    Warning: Trying to access array offset on false in /wp-content/themes/musicplay/audio-player.php on line 181
    The issue occurs in the audio-player.php file of the Musicplay theme and seems related to attempting to access an array offset when the variable is false

    • This topic was modified 1 year, 1 month ago by ksadrakula.
    2025-08-15 at 8:39 pm
    #29649
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    If you can share the WordPress login credentials along with your website URL, we’ll be able to examine the issue more closely. Please ensure you post the details as a private reply so only the support team can view them. See the screenshot below where to set the post as private. Important: Before sharing your login details, we strongly recommend backing up your website completely, including all WordPress content, theme settings, widgets, and other custom configurations.

    2025-08-15 at 8:59 pm
    #29651
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    If you wish the change to code yourself then replace this line
    $image = aq_resize( $imagesrc[0], '', '80', true );

    with the new code
    $image = is_array( $imagesrc ) ? aq_resize( $imagesrc[0], '', '80', true ) : '';

You must be logged in to reply to this topic.