# 2.1.1-2 to 2.2 upgrade error

**URL:** <https://community.dreamfactory.com/t/2-1-1-2-to-2-2-upgrade-error/2991>\
**Category:** Bitnami Installers\
**Created:** [July 14, 2016, 11:44pm UTC](https://community.dreamfactory.com/t/2-1-1-2-to-2-2-upgrade-error/2991 "2016-07-14T23:44:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![athompson](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@athompson](https://community.dreamfactory.com/u/athompson)\
**Post date:** [July 14, 2016, 11:44pm UTC](https://community.dreamfactory.com/t/2-1-1-2-to-2-2-upgrade-error/2991/1 "2016-07-14T23:44:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![formerstaff](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/formerstaff/32/1133_2.png) [@formerstaff](https://community.dreamfactory.com/u/formerstaff)\
**Post date:** [July 28, 2016, 1:36pm UTC](https://community.dreamfactory.com/t/2-1-1-2-to-2-2-upgrade-error/2991/2 "2016-07-28T13:36:55Z")

</div>

Have you tried manually clearing the compiled cache and the application cache? [https://wiki.dreamfactory.com/DreamFactory/Upgrades#Troubleshooting](https://wiki.dreamfactory.com/DreamFactory/Upgrades#Troubleshooting)
