MrPan
MrPan
FFilament
Created by MrPan on 8/16/2023 in #❓┊help
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?
4 replies
FFilament
Created by MrPan on 6/24/2023 in #❓┊help
Error 401 on upload in Filament Admin
Log file at: https://paste.laravel.io/6d98bbfc-28ec-44b1-8774-99f012e06cc0 Getting an 401 on the XHR request made to /livewire/upload-file/ and not sure how to debug why it's happening. The log file doesn't really tell me a better reason, but been fiddling with CSRF if that could be the bad guy? Same problem locally (Valet) and published to a dev server (ubuntu). Not had this issue before and tried both normal FileUpload and SpateMediaFile with same error. I see the preview, but says "Error during upload"
4 replies