MedicOneSystems / livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS
https://livewire-datatables.com/
MIT License
1.19k stars 258 forks source link

HELP - Uncaught (in promise) TypeError: this.messageInTransit is null #504

Closed Slobug closed 1 year ago

Slobug commented 1 year ago

Hello

I don't understand this error: Uncaught (in promise) TypeError: this.messageInTransit is null

I see this error only in production unfortunately. and my production is equal to my development except for the content of the tables.

Someone to guide me ? Thanks

thyseus commented 1 year ago

I do not know this error. Please ensure to run npm run prod and move that js/css on your production environment.

Slobug commented 1 year ago

Laravel
app\http\livewire\geforia\ChoisesDatatable.php

in development tool : my_application/livewire/message/geforia.choices-datatable

on mouseover the datatable I have this error : Uncaught (in promise) TypeError: this.messageInTransit is undefined

my_application//vendor/js/component/index.js l.257:64
` messageSendFailed() { store.callHook('message.failed', this.messageInTransit, this)

    this.messageInTransit.reject()

    this.messageInTransit = null
}`
Slobug commented 1 year ago

the npm run prod has not changed anything

Slobug commented 1 year ago

it looks like it is looking for this folder/file : _myapplication/livewire/message/geforia.choices-datatable, but I don't have this folder: message in the public/livewire folder

Slobug commented 1 year ago

Livewire encountered corrupt data when trying to hydrate the [geforia.choices-datatable] component. Ensure that the [name, id, data] of the Livewire component wasn't tampered with between requests.