caffeinated / themes

:art: Laravel Themes package with support for the Caffeinated Modules package.

Home Page:https://caffeinatedpackages.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undefined variable: themeLocation

ariews opened this issue · comments

Hi,

I've create 2 themes for backend for Admin section and frontend for Frontend+User (default theme). But since then, every time I open the web or run route:list from artisan, I've got error saying Undefined variable: themeLocation.

    $ php artisan route:list
    In RegistersViewLocations.php line 34:
    
    Undefined variable: themeLocation

Env: Laravel 5.5, caffeinated/theme 4.0

app('view.finder')->removeLocation($themeLocation);

Strange, when I open the web, the error is gone. But if I try to run route:list, the error still there.