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

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

Read More

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.

Related posts

1 comment

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

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

Comments are closed.