Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bobwurtz's avatar

Method Livewire\Redirector::withInput does not exist

Hello All,

I have encountered a strange error and I am not sure how to handle it. I have a Laravel app and a page with a Livewire component. After updating an input field, I get the following error:

Method Livewire\Redirector::withInput does not exist

I am not attempting to use a redirect anywhere in my Livewire component. I have been able to avoid the error by removing the validation call $this->validate(), but I can't understand why that would stop this from happening. Also, I need to use that validation logic before processing the user's request.

Here are my rules:

protected $rules = [
        'event' => 'required|string|min:1|max:100',
        'organization' => 'required|string|min:1|max:100',
        'address' => 'required|string|min:1|max:100',
        'address_2' => 'nullable|string|min:1|max:100',
        'city' => 'required|string|min:1|max:100',
        'state' => 'required|string|min:1|max:100',
        'zip' => 'required|string|min:1|max:100',
        'date' => 'required|date_format:Y-m-d',
        'time' => 'required|date_format:H:i:s',
        'name' => 'required|string|min:1|max:100',
        'email' => 'required|email',
        'phone' => 'required|string|min:10|max:10',
        'instructions' => 'nullable|string|max:255',
    ];

I am using the most recent Livewire release, 2.10.5. Any thoughts or advice would be greatly appreciated. Thank you.

0 likes
2 replies
bobwurtz's avatar

@tisuchi Thank you for the reply. I am following the advice listed in that response (using the protected rules array in the Livewire component). I am not using the hydrate lifecycle hook either. Is there something else that I'm missing?

Please or to participate in this conversation.