2.1.1-2 to 2.2 upgrade error


#1

Hello,

I was receiving this error during the “composer install --no-dev” stage of the upgrade:

php artisan clear-compiled
PHP Fatal error: Class ‘DreamFactory\Core\Providers\DfCorsServiceProvider’ not found in /opt/dreamfactory-2.1.1-2/apps/dreamfactory/htdocs/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php on line 146
[Symfony\Component\Debug\Exception\FatalErrorException]
Class ‘DreamFactory\Core\Providers\DfCorsServiceProvider’ not found

Any help would be much appreciated.

Thanks,
Andrew


#2

Have you tried manually clearing the compiled cache and the application cache? http://wiki.dreamfactory.com/DreamFactory/Upgrades#Troubleshooting