• Hi there, I am experiencing the same issue as this closed post:

    https://ww.wp.xz.cn/support/topic/acf-shortcode-variable-shows-error/

    I am outputting the url of an mp3 in the media library via an ACF Pro field.

    $file = get_sub_field('audio-file');
    echo do_shortcode('[sc_embed_player fileurl="' . $file . '"]');

    I get an error: “Compact Audio Player Error! You must enter the mp3 file URL via the “fileurl” parameter in this shortcode. Please check the documentation and correct the mistake.” and yet the audio player is displaying and playing fine in spite of the error.

    If I echo $file, I get the correct path to the mp3 in question.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘ACF repeater field causing errors in output’ is closed to new replies.