acorn icon indicating copy to clipboard operation
acorn copied to clipboard

Create FoundationServiceProvider.php

Open tgeorgel opened this issue 8 months ago • 0 comments

Radicle (and so, Acorn) is missing the FoundationServiceProvider, causing multiple errors :

  • \Illuminate\Http\Request class is missing the validate() method
  • The custom FormRequests are not working, because of the missing call to the related service provider
  • The dumper on Radicle is broken

By adding this Service provider to the config/app.php file, it fixes those errors.

'providers' => [
    ...
    Roots\Acorn\Providers\FoundationServiceProvider::class,
],

Tested on Radicle stack.

tgeorgel avatar Nov 02 '23 09:11 tgeorgel