I am on Craft CMS version 4.0.4. I used the last
filter to get the last matrix, but when I tried to get the image, I kept getting an error:
Impossible to access an attribute ("image") on a string variable ("}").
Here's my code
{% set lastBlock = entry.homeHeroBanner|last %}
{% set lastImage = lastBlock.image.first() %}
Anyone know how to get the image from the last matrix block?