I have freshly installed the WordPress and then put the Avada theme files in the themes folder. When I attempted to install the Avada theme I get a fatal error:
Fatal error: Cannot use “self” when no class scope is active in C:xampphtdocsavadawp-contentthemesAvadaframeworkpluginsimporterimporter.php on line 1000
I am running it xampp server. The WordPress version is 4.4.2. I have searched a lot to find out what is the actual problems, But when I installed avada in the wamp server, it works fine. I want it in the xampp server for my personal tasks. Any insight would be appreciated.
Edit file
/wp-content/themes/Avada/framework/plugins/importer/importer.php
on line 1000from :
self::deleteDir($file);
to :
$this->deleteDir($file);