dimanche 28 mai 2017

Laravel 5.2 ErrorException in FormBuilder.php

Laravel 5.2 ErrorException in FormBuilder.php line 1235 Method style does not exist.

I am not sure about this error. I have already updated my composer.json file with "laravelcollective/html": "^5.2" under "require" section and config/app.php file with

'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\FormFacade::class,

under aliases section and below code under providers section

Collective\Html\HtmlServiceProvider::class,

my layout file contains the following code: {!! Html::style('css/bootstrap.min.css') !!} As soon as I put this line, the system through the error. The same code is working fine in my other laravel project



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire