Uncaught Nette\InvalidStateException: Invalid value in $_POST/$_COOKIE in key ‘_acf_nonce’, expected string, b
- Thommato
- Member | 1
Dear Sir/Madam,
I'm using Nette Forms as setup form for a other form that will show up after the first submit of the Nette form.
Uncaught Nette\InvalidStateException: Invalid value in $_POST/$_COOKIE in key ‘_acf_nonce’, expected string, boolean given.
I'm using the default set-up, like: https://doc.nette.org/…s/standalone
- David Grudl
- Nette Core | 7732
It seems that some library is modifying $_COOKIE
. Try to call
Nette\Forms\Form::initialize()
at the beginning of the script.