TypeError when using media in blocks #3710
Unanswered
JBischoff28
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I followed the Uploads documentation that is provided on the Payload website to create a Media collection that allows for image uploads. That is working fine. My issue is that I am getting the following error whenever I try to use the uploaded images on a Page's block (Pages are also configured to a collection called Pages, with various blocks configured to the page):
TypeError: Cannot read properties of undefined (reading 'collection')
I have attached four images that will hopefully provide some context of the issue. The initial creation of a block that includes media works fine, however, I am unable to update or delete them after creation. Thank you in advance for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions