I'm not sure exactly why I'm running across this in my app... but I'm getting an array passed to _get_attachment_id_from_url rather than a string.
This is predictably throwing a warning strpos() expects parameter 1 to be string, array given acf-audio-video/acf-audio-video-field.php:380
I didn't hunt down the source of the error, but just checking that the passed variable $attachment_url is indeed a string resolves the warning for me.
I'm not sure exactly why I'm running across this in my app... but I'm getting an array passed to
_get_attachment_id_from_urlrather than a string.This is predictably throwing a warning
strpos() expects parameter 1 to be string, array given acf-audio-video/acf-audio-video-field.php:380I didn't hunt down the source of the error, but just checking that the passed variable
$attachment_urlis indeed a string resolves the warning for me.