phpVMS showing errors on login (Please See Description)

Hi ,

I recently attempted to install phpVMS on one.com hosting , It uses php 5.6 , I have installed phpvms numerous times on this version hassle free but now the install on my latest install is showing 

Warning: Creating default object from empty value in /customers/b/8/9/british-airways-vam.com/httpd.www/pilots/core/classes/Vars.class.php on line 74

and 

Warning: Cannot modify header information - headers already sent by (output started at /customers/b/8/9/british-airways-vam.com/httpd.www/pilots/core/classes/Vars.class.php:74) in /customers/b/8/9/british-airways-vam.com/httpd.www/pilots/core/modules/Login/Login.php on line 154

 

I don’t know what to do.. Please could I get help.]

The install is at   pilots.british-airways-vam.com (The Client wanted VAM a while back but I convinced him to use phpVMS)

 

Have you made any changes or is this a new install?

You can try this branch: https://github.com/nabeelio/phpvms_v2, download from there

Could also be a permissions issue if the files cannot be modified. 

4 hours ago, Nabeel said:

Have you made any changes or is this a new install?

You can try this branch: https://github.com/nabeelio/phpvms_v2, download from there

I have used that branch , I modified CodonModule.class.php and just after php opening tag I added:  (Strict standards errors)

 

ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);

and done this.

change core/common/PilotData.class.php on line 436

from:
public static function saveAvatar($code, $pilotid, $_FILES) {

to:
public static function saveAvatar($code, $pilotid) {