We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to set the action in the class for your form using the setAction() method, an exception is thrown:
setAction()
RuntimeException: Trying to call method set on a non-object
Trace:
0 /app/modules/core/lib/Forms/Login.php(16): Phalcon\Forms\Form->setAction('/users/login') 1 [internal function]: Modules\Core\Forms\Login->initialize(NULL, Array) 2 /app/modules/core/controllers/UsersController.php(48): Phalcon\Forms\Form->__construct() 3 [internal function]: Modules\Core\Controllers\UsersController->loginAction() 4 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(Modules\Core\Controllers\UsersController), 'loginAction', Array) 5 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() 6 /app/modules/core/lib/Bootstrap/Mvc.php(541): Phalcon\Mvc\Application->handle('/') 7 /app/modules/core/lib/Bootstrap/Main.php(589): Modules\Core\Bootstrap\Mvc->runApplication() 8 /app/public/index.php(8): Modules\Core\Bootstrap\Main->run() 9 {main}
Steps to reproduce the behavior:
use Phalcon\Forms\Form; class Login extends Form { public function initialize() { $this->setAction('/users/login'); } }
Details
The text was updated successfully, but these errors were encountered:
I confirm this behavior
Sorry, something went wrong.
This has been resolved. Thank you @richmilns
No branches or pull requests
When trying to set the action in the class for your form using the
setAction()
method, an exception is thrown:RuntimeException: Trying to call method set on a non-object
Trace:
Steps to reproduce the behavior:
Details
The text was updated successfully, but these errors were encountered: