Specifically, there are a few things that that one line make me wonder about.
First, you are assigning 'PCP.profil.profile_prefer' what is that? Under normal circumstances, you can't assign a string a value. That makes me wonder if there isn't an error before the line.
Second, after 'profilcp_prefer_shortcut' there is a comma that looks very suspicious. I don't think it belongs.
Finally, after 'PCP.profil.profile_prefer.base' => array() there is a comma that looks very suspicious.
It seems like you're building a very large array. If this is the case, I'd suggest breaking it into smaller bits to ease debugging.
// Like this
$yourarray['PCP.profil.profile_prefer'] = array('custom' => 1,'title' => 'profilcp_prefer_shortcut');
$yourarray['PCP.profil.profile_prefer.base'] = array();