Avada fatal error Cannot use self importer.php

Avada fatal error Cannot use self importer.php

After upgrading to php 7

Fatal error: Cannot use “self” when no class scope is active in /wp-content/themes/Avada/framework/plugins/importer/importer.php on line 1000

 

Solution:

Edit file /wp-content/themes/Avada/framework/plugins/importer/importer.php on line 1000 from : self::deleteDir($file);

to :$this->deleteDir($file);