Fatal Error: Someone Please help.

wordpress

#1

I tried switching my theme from one to another but received this error after:

Fatal error: Cannot redeclare class Envato_Protected_API in /home3/save/public_html/wp-content/themes/pile/wpgrade-core/vendor/envato-wtl/class-envato-protected-api.php on line 12

I don’t know what to do. I can’t access my site anywhere doing anything in any way. I never edit my site outside of wordpress online. I just need to get back and have access again. My site is not linked to dreamweaver or anything. What do i do?


#2

You can try the following;

https://wordpress.org/support/topic/how-to-change-theme-in-ftp-cant-login-to-admin


#3

You can use FTP to access to the following path of your WP site:

[root]/wp-content/themes/

Then remove the active theme folder (that gave you the error message). In this case, it is “pile” theme. Now try opening your site again.

Hope this helps!


#4

If you have cPanel access you can do the same as suggested by @UXbarn. The problem could also be caused by new plugin installed or updated.