F
Filament16mo ago
MrPan

LocationResource - Uncaught SyntaxError: JSON.parse: unexpected end of data

Getting the following error when loading EditLocation: Uncaught SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data Component http://gtravelr.test/livewire/livewire.js?id=fc319290:3893 initComponent http://gtravelr.test/livewire/livewire.js?id=fc319290:3959 start3 http://gtravelr.test/livewire/livewire.js?id=fc319290:8050 skipDuringClone http://gtravelr.test/livewire/livewire.js?id=fc319290:1603 initTree http://gtravelr.test/livewire/livewire.js?id=fc319290:617 initTree http://gtravelr.test/livewire/livewire.js?id=fc319290:617 walk http://gtravelr.test/livewire/livewire.js?id=fc319290:540 initTree http://gtravelr.test/livewire/livewire.js?id=fc319290:615 deferHandlingDirectives http://gtravelr.test/livewire/livewire.js?id=fc319290:1114 initTree http://gtravelr.test/livewire/livewire.js?id=fc319290:614 start http://gtravelr.test/livewire/livewire.js?id=fc319290:569 start http://gtravelr.test/livewire/livewire.js?id=fc319290:568 start3 http://gtravelr.test/livewire/livewire.js?id=fc319290:8066 <anonymous> http://gtravelr.test/livewire/livewire.js?id=fc319290:8989 EventListener.handleEvent* http://gtravelr.test/livewire/livewire.js?id=fc319290:8988 <anonymous> http://gtravelr.test/livewire/livewire.js?id=fc319290:8992 livewire.js:3893:28 Upgraded to V3 and all resources went fine except one called LocationResource. It uses Filament Google Maps, but updated libs and also removed all connections to it. Also went back to basic to only show a simple Textfield (and even empty) but the same error shows in console. Any recommendations what I could try?
2 Replies
LeandroFerreira
LeandroFerreira16mo ago
maybe you can ask on the plugin channel
MrPan
MrPanOP16mo ago
Thanks, but doesn't seem to be related to the plugin as same error appears even if I remove the package and just add a standard text field as the only Form input. Found the issue - a field in the database of type POINT with invalid data caused the JSON not to load.
Want results from more Discord servers?
Add your server