Skip to content
New issue

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

Form::captcha() resulting in exception #1

Closed
syphernl opened this issue Apr 26, 2013 · 3 comments
Closed

Form::captcha() resulting in exception #1

syphernl opened this issue Apr 26, 2013 · 3 comments

Comments

@syphernl
Copy link

When using
echo Form::captcha();
in my view this results in an exception:

Warning: Missing argument 2 for Illuminate\Html\FormBuilder::input()
@greggilbert
Copy link
Owner

Sorry, I'm not able to recreate this. I just pulled a fresh copy of L4 and installed the package, and it works fine. Maybe try deleting app/bootstrap/compiled.php and see what happens?

@syphernl
Copy link
Author

I've figured out why this is failing.
Bootstrapper has its own Form alias registered.
If I comment it out, the captcha works.

Not sure whether this is something Bootstrapper can/should fix or whether it can be done in the recaptcha package.

@greggilbert
Copy link
Owner

Yeah, it has to do with the use of Form::macro. I've commented on your ticket on the other package, so I'll let it get resolved over there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants