Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Issue on view

Sometimes On view i got error like

Wrong number of parameters but sometimes working fine

On Controller : public function indexAction() {

    $data=TblTest::find();
    $this->view->setVar("breadcrumb", "Test Page");
    $this->view->setVar("data", $data);
}

you can also asign a value directly and this shouldn't give you any more errors

$this->view->breadcrumb = "test page";


919
Accepted
answer

Thanks for comment bro, it seem happen because i upgrade phalcon version (2.0) .

On that version i cannot load 2 query on controller