Valid Fields error

100denari

New Member
I'm using vBulletin 3.8.2 and when i want to change user settings from admincp(admincp > search users and i choose user). I get this error message:
PHP:
Fatal error: Field pmdefaultsavecopy is not defined in $validfields in class vB_DataManager_User in [path]/includes/class_dm.php on line 485

Can someone help me, how to define field pmdefaultsavecopy in $validfields.
Please i really need fast answer.

Thanks in advance.
 
This looks like the same problem:


A fatal error occurs when creating a user in the admin control panel:

pmdefaultsavecopy is not defined in $validfields in class vB_DataManager_User


To fix this, in admincp/user.php change:

PHP:
print_yes_no_row(construct_phrase($vbphrase['save_pm_copy_default'], '../private.php?folderid=-1'), 'user[pmdefaultsavecopy]', $user['pmdefaultsavecopy']);

to:


PHP:
print_yes_no_row(construct_phrase($vbphrase['save_pm_copy_default'], '../private.php?folderid=-1'), 'options[pmdefaultsavecopy]', $user['pmdefaultsavecopy']);
 
Back
Top