SpatieMediaLibraryImageEntry error Attempt to read property "media" on null on RepeaterEntry
4 Replies
Help?
Please provide some information about your setup. The code above doesn’t even look syntactically correct 🤔
Sorry, i already edited it, so this code is on my ProductResource, when i want to make infolist like the code above, it give me error, another entry like TextEntry inside RepeatableEntry is working properly.
The error message is "Attempt to read property "media" on null"
When i use SpatieMediaLibraryImageEntry outside RepeatableEntry, it works properly. I got this error when use it inside RepeatableEntry.
Sounds like it cannot the model to the file upload field.