# Updating Controller to 2.0.0

**URL:** https://discourse.roots.io/t/updating-controller-to-2-0-0/11806
**Category:** sage
**Tags:** sage9, blade
**Created:** 2018-03-04T21:25:32Z
**Posts:** 21
**Showing post:** 5 of 21

## Post 5 by @alwaysblank — 2018-03-05T21:06:24Z

I can’t say for certain because you haven’t posted any code, but the error message makes it look like you still have the wrong namespace for `app/controllers/App.php`. The namespace for your controllers should be `App\Controllers\[whatever the controller is]`, but the error here says that it’s just looking for `Controllers\App` instead of `App\Controllers\App`.

If you’re struggling with namespace, you may find this post I wrote attempting to explain how they work helpful: [Controller namespace issue, different behavior on localhost and development server](https://discourse.roots.io/t/controller-namespace-issue-different-behavior-on-localhost-and-development-server/11821/2?u=alwaysblank)

---

_[View the full topic](https://discourse.roots.io/t/updating-controller-to-2-0-0/11806)._
