Error – Undefined variable: value when new signup db entry added
-
When adding a new user to the DB via
[pdb_signup groups="personal" action="thanks" submit_button="Allow Editing"]
I get this error:
Notice: Undefined variable: value in /home/customer/www/adams39.sg-host.com/public_html/wp-content/plugins/participants-database/classes/PDb_Tag_Template.php on line 302
It seems the $value is not set in the following code.
if ( array_key_exists( $fieldname, Participants_Db::$fields ) ) { $field = new PDb_Field_Item( (object) array('name' => $fieldname, 'value' => $value, 'module' => 'tag-template', 'record_id' => ( isset( $this->data['id'] ) ? $this->data['id'] : null )) ); /** * @version 1.7.0.8 prevent non-pdb field items from using HTML Bug #1343 * * @version 1.7.1.4 added "raw" mode * */ $field->html_mode( !$this->raw ); }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Error – Undefined variable: value when new signup db entry added’ is closed to new replies.