Missing Route Cake\Routing\Exception\MissingRouteException

Documentation API

Error: A route matching "option=com_content&view=article&id=18&Itemid=9" could not be found.

None of the currently connected routes match the provided parameters. Add a matching route to config/routes.php

Connected Routes

TemplateDefaultsOptions
/[ 'controller' => 'Pages', 'action' => 'home', 'plugin' => null ][ '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ]
/pages/:id-:slug[ 'controller' => 'Pages', 'action' => 'show', 'plugin' => null ][ 'pass' => [ (int) 0 => 'id', (int) 1 => 'slug' ], 'id' => '[0-9]+', '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ]
/accueil[ 'controller' => 'Pages', 'action' => 'home', 'plugin' => null ][ '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ]
/:id-:slug[ 'controller' => 'Categories', 'action' => 'show', 'plugin' => null ][ 'pass' => [ (int) 0 => 'id', (int) 1 => 'slug' ], 'id' => '[0-9]+', '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ]
/actualites/:id-:slug[ 'controller' => 'Themes', 'action' => 'show', 'plugin' => null ][ 'pass' => [ (int) 0 => 'id', (int) 1 => 'slug' ], 'id' => '[0-9]+', '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ]
/article/:id-:slug[ 'controller' => 'Blogs', 'action' => 'show', 'plugin' => null ][ 'pass' => [ (int) 0 => 'id', (int) 1 => 'slug' ], 'id' => '[0-9]+', '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ]
/produit/:id-:slug[ 'controller' => 'Works', 'action' => 'show', 'plugin' => null ][ 'pass' => [ (int) 0 => 'id', (int) 1 => 'slug' ], 'id' => '[0-9]+', '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ]
/service/:id-:slug[ 'controller' => 'Produits', 'action' => 'show', 'plugin' => null ][ 'pass' => [ (int) 0 => 'id', (int) 1 => 'slug' ], 'id' => '[0-9]+', '_ext' => [], 'routeClass' => 'Cake\Routing\Route\DashedRoute' ]
/:controller[ 'action' => 'index', 'plugin' => null ][ 'routeClass' => 'Cake\Routing\Route\DashedRoute', '_ext' => [] ]
/:controller/:action/*[ 'action' => 'index', 'plugin' => null ][ 'routeClass' => 'Cake\Routing\Route\DashedRoute', '_ext' => [] ]
/admin/:controller[ 'action' => 'index', 'prefix' => 'admin', 'plugin' => null ][ 'routeClass' => 'InflectedRoute', '_ext' => [] ]
/admin/:controller/:action/*[ 'action' => 'index', 'prefix' => 'admin', 'plugin' => null ][ 'routeClass' => 'InflectedRoute', '_ext' => [] ]
/media/:controller[ 'action' => 'index', 'plugin' => 'Media' ][ 'routeClass' => 'Cake\Routing\Route\DashedRoute', '_ext' => [] ]
/media/:controller/:action/*[ 'action' => 'index', 'plugin' => 'Media' ][ 'routeClass' => 'Cake\Routing\Route\DashedRoute', '_ext' => [] ]

If you want to customize this error message, create src/Template/Error/missing_route.ctp

toggle vendor stack frames