Solved
mdavenpo

May 27th, 2023 08:43 PM

Hi all, this may be a silly question or may just be me (which is probably the case). Followed the video that Tony did for Tallstack on Wave (TallStack Wave). However even following with the same commands, same livewire components, and methods, after clicking the button to submit text to database essentially a 500 error is thrown.

After inspecting the 500 error with dev tools,  livewire/message/task-list:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error);

Oops! An Error Occurred The server returned a "405 Method Not Allowed". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

My Question: is anyone else having the same issue?

mdavenpo

May 27th, 2023 08:50 PM

Best Answer

Sorry all ive found the answer to my own question searching further through the log file.

local.ERROR: Class "App\Task" not found {"userId":1,"exception":"[object] (Error(code: 0): Class "App\Task" not found

if anyone else find themselves confused. Remember double check the location and namespaces and make sure they are in the right location.

Report
1
bobbyiliev

May 28th, 2023 09:29 AM

Hi there,

Happy to hear that you've got this all sorted out! And thank you for sharing your solution here with the community!