Code Monkey home page Code Monkey logo

Comments (7)

CrazyBoy49z avatar CrazyBoy49z commented on May 19, 2024 1

I didn't catch this with this component, but it's mainly a problem with type changes in the liveware, for example in the form

class User ....
public ?string $name = null
or
public User $user

form
<input wire:model="name" ... />
or
<input wire:model="user.name" ... />

The user fills in the name field and receives an error

For some reason, the problem does not always arise, but only in individual cases

from log-viewer.

arukompas avatar arukompas commented on May 19, 2024 1

Hey @mangrovestudios , I've tried this log file and it seems to be opening just fine:

Screenshot 2022-08-24 at 07 59 05

Of course, that's on a fresh new project without any other dependencies that might be messing something up.

Is your project public? Then maybe I can debug in the exact environment you have to see what causes the crash.

from log-viewer.

mangrovestudios avatar mangrovestudios commented on May 19, 2024 1

Some custom middleware I have in my project must be altering the request.

So, as a workaround, I created a new middleware group with the Laravel defaults only, and assigned it in the config file.
I also had to do the same in Livewire's config file so that those routes are going through the right middleware too.

And now it works :)

from log-viewer.

CrazyBoy49z avatar CrazyBoy49z commented on May 19, 2024

This is a type of conversion problem.

from log-viewer.

arukompas avatar arukompas commented on May 19, 2024

Hey @CrazyBoy49z , can you elaborate? Would this have something to do with corrupt or non-UTF-8 log entries?

from log-viewer.

arukompas avatar arukompas commented on May 19, 2024

@mangrovestudios , is there any chance you can share the log file (full, not an excerpt) that you were trying to open? Then I can debug it as well.

from log-viewer.

mangrovestudios avatar mangrovestudios commented on May 19, 2024

laravel-2022-08-23.log
See log file attached - it's a daily file and the error occurred right away. Hope it helps!

from log-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.