© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
tomb8091

Wizard issue with missing $statePath

I have a livewire component wizard that seems to be hitting intermittent issues for a very few users, I'm unable to recreate the issue. We're running the site on a load balancer, so it might just be a server or two playing up.

I'm saving the form data to individual properties, rather than using $statePath, but occasionally the wizard seems to crash when moving to the next step

production.ERROR: Filament\Forms\Components\Wizard::Filament\Forms\Components{closure}(): Argument #2 ($statePath) must be of type string, null given,

Which seems to be related to:

$this->registerListeners([
            'wizard::nextStep' => [
                function (Wizard $component, string $statePath, int $currentStepIndex): void {
$this->registerListeners([
            'wizard::nextStep' => [
                function (Wizard $component, string $statePath, int $currentStepIndex): void {


from Wizard.php

Any idea why it works 99% of the time, but occasionally falls over? We're on php 8.2

Thanks!
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

statePath variable missing some form fields
FilamentFFilament / ❓┊help
14mo ago
Wizard issue
FilamentFFilament / ❓┊help
3y ago
Form with Wizard not saving relations with non-default statePaths
FilamentFFilament / ❓┊help
11mo ago
Wizard Component Layout Issue
FilamentFFilament / ❓┊help
3y ago