Sunday, January 29, 2012

Re: Error using CakeDC search plugin in a CakePHP 2 app

... and here is the code/context:

$args = $this->controller->passedArgs;

foreach ($this->controller->presetVars as $field)

{$model = "User"
$data = array(
"User" => array()
)
$args = array(
"min_age" => "10",
"max_age" => "45"
)
PrgComponent::presetForm() - APP\Controller\Component
\PrgComponent.php, line 76
PrgComponent::commonProcess() - APP\Controller\Component
\PrgComponent.php, line 234
UsersController::search() - APP\Controller\UsersController.php, line
253
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line
473
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 104
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 86
[main] - APP\webroot\index.php, line 98

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: