I'm using vB 4.2.3 PL 2, and I'm having both Extra Profile Fields Page and Extra Profile Fields Tab, but when the Tab product is enabled, it shows error on the header of profile member page:
Code:
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_css_EPFP_tab in ..../includes/functions.php on line 4602
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: memberinfo_profilefield in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/speciali/domains/special.ir/public_html/forum/member.php(599) : eval()'d code(176) : eval()'d code on line 2
Before this time, I've used this product with no error, but seems today it's showing error.
In the line 4602 functions.php:
Code:
trigger_error('fetch_template() calls should be replaced by the vB_Template class. Template name: ' . htmlspecialchars_uni($templatename), E_USER_WARNING);
and in line 599 member.php, it is:
Code:
($hook = vBulletinHook::fetch_hook('member_build_blocks_start')) ? eval($hook) : false;
What should I do? Any comments rather than disabling this product?
PHP version is 5.6.28