The split function used in the functions.php file is deprecated since php version 5.3 and gives an error. We used the explode function instead and it works well. Thank you