# CakePHP Upgrade 2.10 -\> 3.7

**URL:** <https://discourse.cakephp.org/t/cakephp-upgrade-2-10-3-7/6006>\
**Category:** Need Help\
**Created:** [April 27, 2019, 11:12am UTC](https://discourse.cakephp.org/t/cakephp-upgrade-2-10-3-7/6006 "2019-04-27T11:12:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bgrinter](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/bgrinter/32/1381_2.png) [@bgrinter](https://discourse.cakephp.org/u/bgrinter)\
**Post date:** [April 27, 2019, 11:12am UTC](https://discourse.cakephp.org/t/cakephp-upgrade-2-10-3-7/6006/1 "2019-04-27T11:12:11Z")

</div>

Hi all

I have a largish app to upgrade, and before trying to upgrade I thought it would be worth testing the upgrade tool on something simple.

I’ve taken the CakePHP 2 tutorial “blog” and tried to step through the the upgrade, it all seems to work however I get to the end but get the following error

```
[27-Apr-2019 11:05:22 UTC] PHP Fatal error: Uncaught Error: Class 'Cache' not found in /Applications/MAMP/htdocs/blog/config/bootstrap.php:17
Stack trace:
#0 /Applications/MAMP/htdocs/blog/vendor/cakephp/cakephp/src/Http/BaseApplication.php(152): require_once()
#1 /Applications/MAMP/htdocs/blog/src/Application.php(38): Cake\Http\BaseApplication->bootstrap()
#2 /Applications/MAMP/htdocs/blog/vendor/cakephp/cakephp/src/Http/Server.php(121): App\Application->bootstrap()
#3 /Applications/MAMP/htdocs/blog/vendor/cakephp/cakephp/src/Http/Server.php(82): Cake\Http\Server->bootstrap()
#4 /Applications/MAMP/htdocs/blog/webroot/index.php(40): Cake\Http\Server->run()
#5 {main}
  thrown in /Applications/MAMP/htdocs/blog/config/bootstrap.php on line 17

```

Feeling a bit dumb at the moment - can’t upgrade the tutorial what chance of upgrade a large app ☹

Brian

---

<div class="post-metadata">

**Author:** ![Zuluru](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/zuluru/32/1230_2.png) [@Zuluru](https://discourse.cakephp.org/u/Zuluru)\
**Post date:** [April 27, 2019, 4:46pm UTC](https://discourse.cakephp.org/t/cakephp-upgrade-2-10-3-7/6006/2 "2019-04-27T16:46:17Z")

</div>

The upgrade tool takes care of things that can reliably be done automatically. It moves the file structure around, changes class names, adds namespace declarations, that sort of thing. The majority of what needs to be done to convert an application remains a manual process; it’s not a trivial thing.

---

<div class="post-metadata">

**Author:** ![bgrinter](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/bgrinter/32/1381_2.png) [@bgrinter](https://discourse.cakephp.org/u/bgrinter)\
**Post date:** [April 28, 2019, 7:57am UTC](https://discourse.cakephp.org/t/cakephp-upgrade-2-10-3-7/6006/3 "2019-04-28T07:57:38Z")

</div>

Missed stuff in the autoload - got it sorted now

Thanks
