@Lynne,
my command :
Quote:
{vb:data userInfo, user, fetchProfileInfo, {vb:raw conversation.userid}}
<vb:if condition="$userInfo['field2']"><li><label>{vb hrase field2_title}:</label> <span>{vb:raw userInfo.customFields.default.field2_title.val}</span></li></vb:if>
<vb:if condition="$userInfo['field3']"><li><label>{vb hrase field3_title}:</label> <span>{vb:raw userInfo.customFields.default.field3_title.val}</span></li></vb:if>
|
and the error message is :
Quote:
The following error occurred when attempting to evaluate this template:
Warning: Illegal string offset 'field2' in [path]/includes/adminfunctions_template.php(4738) : eval()'d code on line 3
Warning: Illegal string offset 'field3' in [path]/includes/adminfunctions_template.php(4738) : eval()'d code on line 9
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
|
what should i do?
Quote:
Originally Posted by Lynne
That is my example template. I doubt yours would be exactly the same. Post images of your admincp > User Profile Field Manager and the Categories.
|
and this is my screen shot :