# MissingControllerException Error

**URL:** <https://discourse.cakephp.org/t/missingcontrollerexception-error/4440>\
**Category:** Need Help\
**Tags:** behavior\
**Created:** [June 21, 2018, 12:10pm UTC](https://discourse.cakephp.org/t/missingcontrollerexception-error/4440 "2018-06-21T12:10:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![puneetdhabria](https://avatars.discourse-cdn.com/v4/letter/p/3ab097/32.png) [@puneetdhabria](https://discourse.cakephp.org/u/puneetdhabria)\
**Post date:** [June 21, 2018, 12:10pm UTC](https://discourse.cakephp.org/t/missingcontrollerexception-error/4440/1 "2018-06-21T12:10:34Z")

</div>

I recently updated to cake php 3.6.5 from 3.2.6 using composer.  
After the update, my application seems to be breaking. My custom error handler that I have used extending ErrorHandler is failing. Apart from this, my first controller is not found by the cake php. It says -Error: Create the class XXXXController below in file: src/Controller/XXXXController.php

---

<div class="post-metadata">

**Author:** ![Diego](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/diego/32/296_2.png) [@Diego](https://discourse.cakephp.org/u/Diego)\
**Post date:** [June 21, 2018, 12:26pm UTC](https://discourse.cakephp.org/t/missingcontrollerexception-error/4440/2 "2018-06-21T12:26:15Z")

</div>

You should check the migration guide before upgrading cake, there are alot of changes from 3.2 to 3.6:  
[https://book.cakephp.org/3.0/en/appendices/3-x-migration-guide.html](https://book.cakephp.org/3.0/en/appendices/3-x-migration-guide.html)
