Uncaught Nette\InvalidStateException: Invalid value in $_POST/$_COOKIE in key ‘_acf_nonce’, expected string, b

Thommato
Member | 1
+
0
-

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/…m-standalone

Green
Member | 5
+
0
-

I have same error, any solution for this?

David Grudl
Nette Core | 7542
+
0
-

It seems that some library is modifying $_COOKIE. Try to call Nette\Forms\Form::initialize() at the beginning of the script.