Core upgrade issues

I just installed freepbx on arch linux and I have few issues.
I am trying to upgrade core but I get this error
Fatal error: Call to undefined function outn_() in /srv/http/admin/modules/core/install.php What is causing it
Also freepbx shows status of Asterisk as ERROR but asterisk is running.
Reload failed because retrieve_conf encountered an error: 1
Also amportal is creating /var/run/asterisk/asterik were is setting to point it to /var/run/asterisk ?
Finally I get Reload failed because retrieve_conf encountered an error: 1
running
retrive_conf states
Unable to connect to Asterisk Manager from /var/lib/asterisk/bin/retrieve_conf, aborting

This was caused by the core module being rolled with a small typo in it. Grab the latest core and try again.