Syntax error!

Before I activated the them I receive this error:

Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/storage/e/2a/97/vistapanoramica/public_html/mogitrans/wp-content/themes/betheme/functions/theme-head.php on line 363

And this is the line ate theme-head.php:

$a_header_layout = array_map(function($val) { return 'header-'.$val; }, $a_header_layout);

Please, help me to fix it

Luciano

Comments

Sign In or Register to comment.