Log1x / blade-svg-sage

A simple package to add support for Blade SVG by Adam Wathan to Roots Sage.
MIT License
72 stars 13 forks source link

Call to undefined function BladeSvgSage\str_start #20

Closed strarsis closed 5 years ago

strarsis commented 5 years ago

After requiring Log1x/blade-svg-sage the page doesn't load with following error:

Fatal error: Uncaught Error: Call to undefined function BladeSvgSage\str_start() in [...] vendor/log1x/blade-svg-sage/src/BladeSvgSage.php on line 100
Log1x commented 5 years ago

Do you have Sage 9 activated?

Log1x commented 5 years ago

Closing due to inactivity & being unable to reproduce this. This error would only get thrown if Sage wasn't properly activated as str_start() comes from Illuminate\Support

strarsis commented 5 years ago

Follow up: I had to update also the sage9 theme dependencies (composer update) to make it work.

Log1x commented 5 years ago

Glad you got it sorted. :)