Preview does not work for anonymous users

Created on 2 August 2017, almost 7 years ago
Updated 4 May 2023, about 1 year ago

I have a webform that anonymous users fill out. I would like to use the preview button, but I'm getting php warnings (see below) when the 'previous' button is used and the table values are not saved. I see the note on the main project page for this module that preview works if you hit save first, but you can't save it if you're not an authenticated user. Is there any workaround for this issue with anonymous users?

Warning: array_key_exists() expects parameter 2 to be array, null given in _array_key_delete_recursive() (line 708 of /srv/bindings/f905c48d2c1044a088aad0cf194912dd/code/sites/all/modules/webform_table_element/webform_table_element.module).
Warning: Invalid argument supplied for foreach() in _array_key_delete_recursive() (line 709 of /srv/bindings/f905c48d2c1044a088aad0cf194912dd/code/sites/all/modules/webform_table_element/webform_table_element.module).
Warning: array_key_exists() expects parameter 2 to be array, null given in _array_key_delete_recursive() (line 708 of /srv/bindings/f905c48d2c1044a088aad0cf194912dd/code/sites/all/modules/webform_table_element/webform_table_element.module).
Warning: Invalid argument supplied for foreach() in _array_key_delete_recursive() (line 709 of /srv/bindings/f905c48d2c1044a088aad0cf194912dd/code/sites/all/modules/webform_table_element/webform_table_element.module).
Warning: array_key_exists() expects parameter 2 to be array, null given in _array_key_delete_recursive() (line 708 of /srv/bindings/f905c48d2c1044a088aad0cf194912dd/code/sites/all/modules/webform_table_element/webform_table_element.module).
Warning: Invalid argument supplied for foreach() in _array_key_delete_recursive() (line 709 of /srv/bindings/f905c48d2c1044a088aad0cf194912dd/code/sites/all/modules/webform_table_element/webform_table_element.module).

πŸ› Bug report
Status

Closed: outdated

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States capysara

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024