Mod functions.php in line 48 and 49.

add_metastring preprecated in elgg 1.9. Now use elgg_get_metastring_id