DatePicker "hintAction" error: Xdebug has detected a possible infinite loop

When I set a "hintAction" in a DatePicker component I get "possible infinite loop" error which is gone after removing it or setting to null. This is the error I get: https://flareapp.io/share/dPbqNp4m#F257 And this is an example code:
DatePicker::make('assistant_date')
->label('Fecha')
->displayFormat('D, j [de] M. [de] Y')
->withoutTime()
->disabled(fn (Closure $get) => (int) $get('assistant') === 0)
->hintAction(
Action::make('copy_date')
->action(null)
)
DatePicker::make('assistant_date')
->label('Fecha')
->displayFormat('D, j [de] M. [de] Y')
->withoutTime()
->disabled(fn (Closure $get) => (int) $get('assistant') === 0)
->hintAction(
Action::make('copy_date')
->action(null)
)
Flare
Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames - The error occurred at http://new-rtcf.local/admin/events/5/edit
1 Reply
undercode
undercodeOP2y ago
Problem solved adding the next line to my php.ini
[xdebug]
xdebug.max_nesting_level=512
[xdebug]
xdebug.max_nesting_level=512
Want results from more Discord servers?
Add your server