-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
3.2.0
-
None
When creating a "Date" type CPF the following error is generated when moving to the "Profile type specific options"
======================================================================
ContextErrorException in type_date.php line 75: Notice: Undefined variable: request
1. in type_date.php line 75
2. at ErrorHandler->handleError('8', 'Undefined variable: request', 'C:\htdocs\phpbb_dev\phpbb\profilefields\type\type_date.php', '75', array('default_lang_id' => '1', 'field_data' => array('field_ident' => 'my_date_field', 'lang_name' => 'my_date_field', 'lang_explain' => '', 'lang_default_value' => '', 'field_contact_desc' => '', 'field_contact_url' => '', 'field_required' => '0', 'field_show_novalue' => '0', 'field_show_on_reg' => '0', 'field_show_on_pm' => '0', 'field_show_on_vt' => '0', 'field_show_on_ml' => '0', 'field_show_profile' => '1', 'field_hide' => '0', 'field_is_contact' => '0', 'field_individual' => '0', 'field_no_view' => '0', 'lang_options' => array(), 'field_length' => '10', 'field_maxlen' => '10', 'field_minlen' => '10', 'field_validation' => '', 'field_novalue' => ' 0- 0- 0', 'field_default_value_day' => ' 0', 'field_default_value_month' => ' 0', 'field_default_value_year' => ' 0', 'field_default_value' => ' 0- 0- 0', 'l_lang_name' => array(), 'l_lang_explain' => array(), 'l_lang_default_value' => array(), 'l_lang_options' => array()), 'profile_row' => array('var_name' => 'field_default_value', 'lang_name' => 'my_date_field', 'lang_explain' => '', 'lang_id' => '1', 'field_default_value' => ' 0- 0- 0', 'field_ident' => 'field_default_value', 'field_type' => 'profilefields.type.date', 'field_length' => '10', 'lang_options' => array())), null) in error_handler.php line 29
3. at error_handler->handleError('8', 'Undefined variable: request', 'C:\htdocs\phpbb_dev\phpbb\profilefields\type\type_date.php', '75', array('default_lang_id' => '1', 'field_data' => array('field_ident' => 'my_date_field', 'lang_name' => 'my_date_field', 'lang_explain' => '', 'lang_default_value' => '', 'field_contact_desc' => '', 'field_contact_url' => '', 'field_required' => '0', 'field_show_novalue' => '0', 'field_show_on_reg' => '0', 'field_show_on_pm' => '0', 'field_show_on_vt' => '0', 'field_show_on_ml' => '0', 'field_show_profile' => '1', 'field_hide' => '0', 'field_is_contact' => '0', 'field_individual' => '0', 'field_no_view' => '0', 'lang_options' => array(), 'field_length' => '10', 'field_maxlen' => '10', 'field_minlen' => '10', 'field_validation' => '', 'field_novalue' => ' 0- 0- 0', 'field_default_value_day' => ' 0', 'field_default_value_month' => ' 0', 'field_default_value_year' => ' 0', 'field_default_value' => ' 0- 0- 0', 'l_lang_name' => array(), 'l_lang_explain' => array(), 'l_lang_default_value' => array(), 'l_lang_options' => array()), 'profile_row' => array('var_name' => 'field_default_value', 'lang_name' => 'my_date_field', 'lang_explain' => '', 'lang_id' => '1', 'field_default_value' => ' 0- 0- 0', 'field_ident' => 'field_default_value', 'field_type' => 'profilefields.type.date', 'field_length' => '10', 'lang_options' => array()))) in type_date.php line 75
4. at type_date->get_options('1', array('field_ident' => 'my_date_field', 'lang_name' => 'my_date_field', 'lang_explain' => '', 'lang_default_value' => '', 'field_contact_desc' => '', 'field_contact_url' => '', 'field_required' => '0', 'field_show_novalue' => '0', 'field_show_on_reg' => '0', 'field_show_on_pm' => '0', 'field_show_on_vt' => '0', 'field_show_on_ml' => '0', 'field_show_profile' => '1', 'field_hide' => '0', 'field_is_contact' => '0', 'field_individual' => '0', 'field_no_view' => '0', 'lang_options' => array(), 'field_length' => '10', 'field_maxlen' => '10', 'field_minlen' => '10', 'field_validation' => '', 'field_novalue' => ' 0- 0- 0', 'field_default_value_day' => ' 0', 'field_default_value_month' => ' 0', 'field_default_value_year' => ' 0', 'field_default_value' => ' 0- 0- 0', 'l_lang_name' => array(), 'l_lang_explain' => array(), 'l_lang_default_value' => array(), 'l_lang_options' => array())) in acp_profile.php line 671
5. at acp_profile->main('profile', 'profile') in functions_module.php line 676
6. at p_master->load_active() in index.php line 82
- duplicates
-
PHPBB-15010 Crash on user profile custom field
- Closed