nova-page-manager icon indicating copy to clipboard operation
nova-page-manager copied to clipboard

"Invalid locale specified (de)" after updating to Nova 4.32.11

Open Napia opened this issue 1 year ago • 2 comments

After updating to PHP 8.2, Laravel 10 and Nova 4.32.11 pages are not accessible anymore in the Nova Backend with error message "Invalid locale specified (de)".

nova-page-manager.php: 'locales' => ['de' => 'Deutsch'],

It worked before, and it works with 'locales' => ['en' => 'English']

Thank you for helping out!

Napia avatar Jan 13 '24 16:01 Napia

->rulesFor($firstLocale, ['required', 'max:255']) in the fields method in src/Nova/Resources/Page.php is apparently breaking it. Version 5.9.0 still works.

Napia avatar Jan 18 '24 09:01 Napia

Hi,

I met the same problem, any solution to fix it ?

Thanks

RibesAlexandre avatar Feb 29 '24 22:02 RibesAlexandre