You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Call to undefined function Stolz\Assets\Laravel\config() in /vendor/stolz/assets/src/Laravel/FlushPipelineCommand.php on line 69
{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Call to undefined function Stolz\Assets\Laravel\config()","file":"/vendor/stolz/assets/src/Laravel/FlushPipelineCommand.php","line":69}}
Previous version worked fine.
The text was updated successfully, but these errors were encountered:
If you are still using Laravel 4 you you have a few options:
Use an old release of the library (i.e: composer require "stolz/assets:0.0.*") but you won't keep up to date with the latest work.
Use your own Laravel service provider.
A sample service provider and artisan command for Laravel 4 are provided. They both work at the time of writing this (version 0.1.8 of the library) but this may change in the future since I don't plan to maintain them.
To use them, in your config/app.php file, use Stolz\Assets\Laravel\LegacyServiceProvider instead of Stolz\Assets\Laravel\ServiceProvider.
The sample files will eventually be deleted so make sure you make a copy of them. In that case, also make sure you address them in the config/app.php using the proper namespace of your copy.
Command "php artisan asset:flush" returns
PHP Fatal error: Call to undefined function Stolz\Assets\Laravel\config() in /vendor/stolz/assets/src/Laravel/FlushPipelineCommand.php on line 69
{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Call to undefined function Stolz\Assets\Laravel\config()","file":"/vendor/stolz/assets/src/Laravel/FlushPipelineCommand.php","line":69}}
Previous version worked fine.
The text was updated successfully, but these errors were encountered: