When a user registers inline and then, after registered and automatically logged in, and he is then submitting the node it's producing a validation error for me, so the node can't be added.

Validation error, please try again. If this error persists, please contact the site administrator.

Is there any way around this?

Comments

danrasband’s picture

I'm getting the same error.

Remon’s picture

same here

pavk’s picture

same error: Only, then "Require username on registration" unchecked

In other settings work correctly.

Roze-1’s picture

Subscribe

GBain22’s picture

Did anyone get this working? I can't find any documentation on the module at all to even know where to start once you enable it.

GBain22’s picture

Priority: Normal » Critical

Subscribe - anyone know how to get around this?

GBain22’s picture

I have solved this for my website, I realised that the node form was missing a token value as it was setting it to "NULL" so enter this in your own custom module hook_form_alter:

function yourcustommodule_form_alter(&$form, $form_state, $form_id) {

if($form_id=='yourcckcontenttype_node_form') {
	
$form['#token'] = FALSE;
unset($form['#token']);

}

And I no longer receive the validation error.

Cheers,
Garry.