I'm having trouble getting an image to display in my themer layout. I'm trying to use a posts module in my themer layout that uses a metabox image upload field called 'headshot' instead of the featured image.
Notice: Array to string conversion in /.../wp-includes/shortcodes.php on line 319
I think the issue is because themer needs a single image URL and the shortcode generates an array. I'm not sure if there is a variable I can add to the shortcode to fix it or if I need to do something on the field code itself to make the field return a single file URL instead of the array.
I'm still pretty new with PHP. Thank you for your help!