I am experiencing the following error when trying to display an image gallery Advanced Custom Field's field on my client's website.
Fatal error: Uncaught Exception: Unknown "get_image" function.
I have tried switching the image galleries return format between array, URL, and ID, but the same issue always occurs.
The code that I am using to display the gallery of images is being used in a category Twig file using the following code. Not all story posts have galleries, but the if statement should be handling this I assume.
I copied the gallery output code directly from the Timber documentation site.
Timber is up to date using 1.18.2.
{% if story.meta( 'photo_gallery' ) %}
{% for image in story.meta( 'photo_gallery' ) %}
<img src="{{ get_image(image) }}" />
{% endfor %}
{% endif %}