# Error custom routing plugin

**URL:** <https://discourse.cakephp.org/t/error-custom-routing-plugin/4861>\
**Category:** Need Help\
**Created:** [September 5, 2018, 5:13am UTC](https://discourse.cakephp.org/t/error-custom-routing-plugin/4861 "2018-09-05T05:13:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![grossolive4](https://avatars.discourse-cdn.com/v4/letter/g/e0b2c6/32.png) [@grossolive4](https://discourse.cakephp.org/u/grossolive4)\
**Post date:** [September 5, 2018, 5:13am UTC](https://discourse.cakephp.org/t/error-custom-routing-plugin/4861/1 "2018-09-05T05:13:35Z")

</div>

I am making a router but have the following error.  
Please help me, thanks !

Route of plugin User  
 ![50%20PM](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/cakephp/original/2X/d/dc31f87e6403c2d308d7eb7a2b4fbe97d33d1110.png)

Route of plugin Category  
 ![44%20PM](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/cakephp/original/2X/b/b36ac6fb6684f249455a02a641555d694c0f62ce.png)

Path plugin User  
 ![12%20PM](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/cakephp/original/2X/1/16df7db4953a2fc1437ba9fac05c9e171cb92e62.png)

Path plugin Category =\> error  
 ![00%20PM](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex029/uploads/cakephp/original/2X/e/eebdff39afcb680e0f327c98cdaae41ad90139c5.png)

---

<div class="post-metadata">

**Author:** ![FinlayDaG33k](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/finlaydag33k/32/1049_2.png) [@FinlayDaG33k](https://discourse.cakephp.org/u/FinlayDaG33k)\
**Post date:** [September 14, 2018, 10:22pm UTC](https://discourse.cakephp.org/t/error-custom-routing-plugin/4861/2 "2018-09-14T22:22:26Z")

</div>

Well… the fix is pretty much literally there: you have to create a `CategoriesController` as the location specified in the error containing atleast the code specified in the little code box.
