Hello there I’ve started using Sage few weeks back locally, on my development setup where everything works fine, but when I try to deploy on my shared hosting server I get the following error:
: Uncaught ReflectionException: Class Illuminate\Filesystem\Filesystem does not exist in /home/user/domain.com/wp-content/themes/test/vendor/illuminate/container/Container.php:719 Stack trace: #0 /home/user/domain.com/wp-content/themes/test/vendor/illuminate/container/Container.php(719): ReflectionClass->__construct('Illuminate\\File...') #1 /home/user/domain.com/wp-content/themes/test/vendor/illuminate/container/Container.php(598): Illuminate\Container\Container->build('Illuminate\\File...') #2 /home/user/domain.com/wp-content/themes/test/vendor/illuminate/container/Container.php(567): Illuminate\Container\Container->resolve('Illuminate\\File...') #3 /home/user/domain.com/wp-content/themes/test/vendor/illuminate/container/Container.php(246): Illuminate\Container\Container->make('Illuminate\\File...', Array) #4 /home/user/domain.com/wp-content/themes/test/vendor/illuminate/container/Container.php(716): Illuminate\Container\Container->Illuminate\Contain in on line 719
I’ve followed the steps outlined in Sage Docs, installed Composer on the server, run the “composer install” command from theme directory but I still get this error. I’ve tried with my custom theme and clean theme directly from master branch on GitHub repo.
I’ve tried with PHP versions 5.6 and 7.0.
Any help would be greatly appreciated as I’m stuck on this for more than a day now