Skip to content
Advertisement

Tag: laravel-6

Serialize form validation Laravel 8

could not validate an array of input in laravel 8. from the frontside I have gotten the serialized form data which was successfully accessible from the backend. what I want is to validate the form inside the update function before I update the data when the user changes. what I have tried on the validation function is below looking recommendation

Surely noobie Laravel Question: Undefined id? Why? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 9 months ago. Improve this question I’m trying to edit the data saved in my DB, and I’m completely lost. In my PostController the index, create,

Laravel Auth guard does not persist after redirect CustomUser

After redirecting from LoginController Auth::guard(‘user’)->user() returns null LoginConsumer LoginService LoginController Auth::guard(‘web’)->user() returns the right user in each of this layers. But on redirect to route(‘user-home’) (or to any route) the same Auth::guard(‘web’)->user() returns null auth.php Answer The problem was that I didn’t return when implementing IlluminateContractsAuthUserProvider the object from

Laravel Dusk: FacebookWebDriverExceptionUnknownErrorException: unknown error: net::ERR_CONNECTION_REFUSED

Running php artisan dusk get the error: Versions: OS: Windows 10 v1903 build 18362.1016 Chrome: 85.0.4183.83 Laravel: v6.18.37 Dusk: v5.11.0 Phpunit: v8.5.8 Tried: Disable firewall Set test website to use localhost (was myapp.local) Can access all pages using Chrome browser Check that vendor/laravel/dusk/bin/chromedriver-win.exe is executable (-rwxr-xr-x) php artisan route:clear php artisan cache:clear php artisan config:clear composer dump-autoload google “FacebookWebDriverExceptionUnknownErrorException: unknown

Advertisement