Notice (8): Undefined offset: 1 [APP/Controller/FrontendsController.php, line 933]Code Contextpublic function product_by_group() {
$id = $this->request->params["pass"][0];
$page_title = str_replace("-", " ", strtoupper($this->request->params["pass"][1]));
$id = '2'FrontendsController::product_by_group() - APP/Controller/FrontendsController.php, line 933 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162 [main] - APP/webroot/index.php, line 101
Error: The requested address '/frontends/product_by_group/2/page:3' was not found on this server.
* @deprecated Will be removed in 3.0. Use PaginatorComponent instead.
*/
public function paginate($object = null, $scope = array(), $whitelist = array()) {
return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist);
}
'Product' array() array()
"limit" => 10
)
);
$detail = $this->paginate("Product");
'Product'
'2'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(FrontendsController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) lang => array( [maximum depth reached] ) slide => '' message => '' name => 'Frontends' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Frontends' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'product_by_group' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => '' cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Frontend' modelKey => 'frontend' validationErrors => null Session => object(SessionComponent) {} Captcha => object(CaptchaComponent) {} WebSetting => object(WebSetting) {} Menu => object(Menu) {} Slide => object(Slide) {} MenuDetail => object(MenuDetail) {} MenuType => object(MenuType) {} Content => object(Content) {} Module => object(Module) {} ProductCategory => object(ProductCategory) {} ProductGroup => object(ProductGroup) {} PushedProduct => object(PushedProduct) {} Product => object(Product) {} ArticleCategory => object(ArticleCategory) {} Article => object(Article) {} Banner => object(AppModel) {} ProductType => object(ProductType) {} ProductTypeDetail => object(ProductTypeDetail) {} Event => object(Event) {} EventUpcoming => object(EventUpcoming) {} EventPast => object(EventPast) {} Question => object(Question) {} Answer => object(Answer) {} Contact => object(Contact) {} Shortcut => object(AppModel) {} Email => object(Email) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => '2' )
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'frontends/product_by_group/2/page:3' base => '' webroot => '/' here => '/frontends/product_by_group/2/page:3' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(FrontendsController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) lang => array( [maximum depth reached] ) slide => '' message => '' name => 'Frontends' helpers => array([maximum depth reached]) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Frontends' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'product_by_group' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => '' cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Frontend' modelKey => 'frontend' validationErrors => null Session => object(SessionComponent) {} Captcha => object(CaptchaComponent) {} WebSetting => object(WebSetting) {} Menu => object(Menu) {} Slide => object(Slide) {} MenuDetail => object(MenuDetail) {} MenuType => object(MenuType) {} Content => object(Content) {} Module => object(Module) {} ProductCategory => object(ProductCategory) {} ProductGroup => object(ProductGroup) {} PushedProduct => object(PushedProduct) {} Product => object(Product) {} ArticleCategory => object(ArticleCategory) {} Article => object(Article) {} Banner => object(AppModel) {} ProductType => object(ProductType) {} ProductTypeDetail => object(ProductTypeDetail) {} Event => object(Event) {} EventUpcoming => object(EventUpcoming) {} EventPast => object(EventPast) {} Question => object(Question) {} Answer => object(Answer) {} Contact => object(Contact) {} Shortcut => object(AppModel) {} Email => object(Email) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'frontends/product_by_group/2/page:3' base => '' webroot => '/' here => '/frontends/product_by_group/2/page:3' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'frontends/product_by_group/2/page:3' base => '' webroot => '/' here => '/frontends/product_by_group/2/page:3' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }