Remove reference to uninitialized variable $translations