0
votes

i change hosting for my site and now the old server is down, i done the backup from ftp and mysql. I change the config.php but it gave error with some file in the include folder (missing). I check the backup and i think is missing the entire wp-includes folder. So i downloaded the same version of wordpress (4.0) and uploaded in FTP but now the error is

Fatal error: Cannot redeclare class WP_MatchesMapRegex in /data/vhosts/murarolightstand.com/prova.murarolightstand.com/wp-includes/class-wp.php on line 633

It's old version of wordpress and and old avada theme. There is nothing can i do to restore the site ? If i've the wp-admin and wp-content and the database it's possible to restore in some way ? I'm in your hands

1

1 Answers

0
votes

If you have entire backup of your previous WordPress site and database. upload new WordPress and replace wp-content of its with new one.

try checking it if you still that error come. rename themes and plugin directory inside wp-content. and also rename you current theme directory i.e Avada

after that admin panel will be accessible to you. now replace your theme and plugin directory name to actual and reset permalink from Adminpanel=>settings=>permalink=>pretty permalink=