You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@linuxonrails Thanks for reporting this. There does seem to be a missing _uploadErrored function that Livewire is sending but CBWIRE doesn't have. Could you post here the payload that Livewire is sending to your server when it's trying to call the uploadErrored function? You can find this in your browser's dev tools under the XHR tab.
{"_token":"EBC622049006AA767973428B3D8BA755D158E61C","components":[{"snapshot":"{\"data\":{\"i_am_the_user_of_the_page\":true,\"previous_about_image\":\"https://cloud10.todocoleccion.online/tc/2025/02/13/sobremi_E6F11A92-CF91-42D6-B227993AD84A9266.jpg\",\"previous_about\":\"¡En proceso de completar mi colección de novelas de Mundodisco! Me interesan el cine, los juegos de rol y los juegos de mesa.\",\"myFile\":\"\",\"i_am_editing_the_page\":true,\"user_slug\":\"davidmoreno-1\",\"error_msg\":\"\",\"previous_about_image_text\":\"Presentación\",\"about_image\":\"https://cloud10.todocoleccion.online/tc/2025/02/13/sobremi_E6F11A92-CF91-42D6-B227993AD84A9266.jpg\",\"about\":\"¡En proceso de completar mi colección de novelas de Mundodisco! Me interesan el cine, los juegos de rol y los juegos de mesa.\",\"about_image_text\":\"Presentación\"},\"memo\":{\"id\":\"f0698b0fc34d027c1e3451c1c207323d\",\"name\":\"usuario.show.Presentation\",\"path\":\"usuario.show.Presentation\",\"method\":\"GET\",\"children\":[],\"scripts\":[],\"assets\":[],\"isolate\":false,\"lazyLoaded\":false,\"lazyIsolated\":true,\"errors\":[],\"locale\":\"en\"},\"checksum\":\"f9f66fa895026e389a10ce006daf3f59afaec8db50cdb60f152af599b32f9192\"}","updates":{},"calls":[{"path":"","method":"_uploadErrored","params":["myFile",null,false]}]}]}
I see the error in CF:
Can't cast Object type <span class='highlight'>[Struct]</span>
to a value of type <span class='highlight'>[Resource]</span>
CBWire is returning an error after trying to upload an image.
In the file
modules/cbwire/includes/js/livewire.js
a non-existent method_uploadErrored
is called:this.component.$wire.call("_uploadErrored", name, errors, this.uploadBag.first(name).multiple);
It happens sometimes.
cbwire module version: 4.1.5
The text was updated successfully, but these errors were encountered: