What is solution to Fatal error: Cannot use "self" when no class scope is active in avada theme? What is solution to Fatal error: Cannot use "self" when no class scope is active in avada theme? wordpress wordpress

What is solution to Fatal error: Cannot use "self" when no class scope is active in avada theme?


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

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