Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Class 'GeneaLabs\LaravelCasts\FormFacade' not found #86

Open
Nowi5 opened this issue Jan 1, 2018 · 0 comments
Open

Class 'GeneaLabs\LaravelCasts\FormFacade' not found #86

Nowi5 opened this issue Jan 1, 2018 · 0 comments
Assignees

Comments

@Nowi5
Copy link

Nowi5 commented Jan 1, 2018

After installing laravel-casts the form of impersonate worked fine, see mikebronner/laravel-impersonator#5

But on other pages a I get now another error message:

Class 'GeneaLabs\LaravelCasts\FormFacade' not found (View: /resources/views/partials/admin/sidebar.blade.php) (View: /resources/views/partials/admin/sidebar.blade.php) (View: /resources/views/partials/admin/sidebar.blade.php)

  <?php echo Form::open(['route' => 'logout', 'style' => 'display:none;', 'id' => 'logout']); ?>
 
    <button type="submit"><?php echo app('translator')->getFromJson('admin.logout'); ?></button>
    <?php echo Form::close(); ?>
{!! Form::open(['route' => 'logout', 'style' => 'display:none;', 'id' => 'logout']) !!}
	<button type="submit">@lang('admin.logout')</button>
	{!! Form::close() !!}

I think in the composer.json is an error:

  "extra": {
        "laravel": {
            "dont-discover": [
                "laravelcollective/html"
            ],
            "providers": [
                "GeneaLabs\\LaravelCasts\\Providers\\LaravelCastsService"
            ],
            "aliases": {
                "Form": "GeneaLabs\\LaravelCasts\\FormFacade",
                "Html": "Collective\\Html\\HtmlFacade"
            }
        }
    },

Shoudn't it be "Form": "GeneaLabs\LaravelCasts\Facades\FormFacade" ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants