Warning (2): Missing argument 1 for ShopsController::bybrand() [APP/Controller/ShopsController.php, line 79]Code Context }
public function bybrand($alias) {
ShopsController::bybrand() - APP/Controller/ShopsController.php, line 79
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined variable: alias [APP/Controller/ShopsController.php, line 81]Code Context public function bybrand($alias) {
$lang = Configure::read('Config.language');
$brand = $this->Shop->Brand->findByAlias($alias);
$lang = 'rus'
ShopsController::bybrand() - APP/Controller/ShopsController.php, line 81
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 486
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 109