Warning (2): Missing argument 1 for UsersController::businessIsAlreadyThere() [APP/Plugin/Cpmgr/Controller/UsersController.php, line 1741]Code Context}
public function businessIsAlreadyThere($business_name){
UsersController::businessIsAlreadyThere() - APP/Plugin/Cpmgr/Controller/UsersController.php, line 1741 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: business_name [APP/Plugin/Cpmgr/Controller/UsersController.php, line 1743]Code Contextpublic function businessIsAlreadyThere($business_name){
$message=array();
$count=$this->User->find('count',array('conditions'=>array('User.business_name' => $business_name)));
$message = array()UsersController::businessIsAlreadyThere() - APP/Plugin/Cpmgr/Controller/UsersController.php, line 1743 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
Error: The view for UsersController::businessisalreadythere() was not found.
Error: Confirm you have created the file: /home/courierplatformc/public_html/app/Plugin/Cpmgr/View/Users/businessisalreadythere.ctp
Notice: If you want to customize this error message, create app/View/Errors/missing_view.ctp
}
$this->Blocks->set('content', '');
if ($view !== false && $viewFileName = $this->_getViewFileName($view)) {
$this->_currentType = self::TYPE_VIEW;
null
}
$this->autoRender = false;
$this->response->body($this->View->render($view, $layout));
return $this->response;
null null
}
if ($render && $controller->autoRender) {
$response = $controller->render();
} elseif (!($result instanceof CakeResponse) &&
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(UsersController) { uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) paginate => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) searchFields => array( [maximum depth reached] ) name => 'Users' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Users' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'businessisalreadythere' layout => 'default' autoRender => false autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => object(View) {} ext => '.ctp' plugin => 'Cpmgr' cacheAction => false passedArgs => array([maximum depth reached]) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Country' modelKey => 'user' validationErrors => null Session => object(SessionComponent) {} RequestHandler => object(RequestHandlerComponent) {} UserAuth => object(UserAuthComponent) {} Security => object(SecurityComponent) {} Paginator => object(PaginatorComponent) {} UserConnect => object(UserConnectComponent) {} Cookie => object(CookieComponent) {} Search => object(SearchComponent) {} ControllerList => object(ControllerListComponent) {} User => object(User) {} [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 => 'cpmgr/users/businessisalreadythere' base => '' webroot => '/' here => '/cpmgr/users/businessisalreadythere' [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] _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 => 'cpmgr/users/businessisalreadythere' base => '' webroot => '/' here => '/cpmgr/users/businessisalreadythere' [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] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }