Title: Problem with migration
Last modified: February 12, 2018

---

# Problem with migration

 *  [stefpat](https://wordpress.org/support/users/stefpat/)
 * (@stefpat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/)
 * Hello,
    I have big problems since I have transfered my website from local to 
   online. The website appears with all pages and photos, but I can’t edit and modify
   no page. I have an internal error 500. I don’t know where it can come from… I
   see my pages but I have no access. And when I try to create a new page it doesn’t
   work… Could you please help me ?

Viewing 14 replies - 1 through 14 (of 14 total)

 *  [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * (@rajanit2000)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967238)
 * Hi.,
 * I highly recommended using duplicator plugin for migration, Its pretty simple
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967255)
 * Errors like this are logged. Check the error log on your server. If you can’t
   find the log, please contact your host.
 * Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/
   debug.log to see if anything gets logged there. [https://codex.wordpress.org/Debugging_in_WordPress](https://codex.wordpress.org/Debugging_in_WordPress)
 * You can also try this: Please attempt to disable all plugins, and use one of 
   the default (Twenty*) themes. If the problem goes away, enable them one by one
   to identify the source of your troubles.
 * If you cannot access wp-admin, there are other ways to [deactivate plugins](https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F).
 *  Thread Starter [stefpat](https://wordpress.org/support/users/stefpat/)
 * (@stefpat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967314)
 * Thank you so much for being there !
    Here is the message of debug.log :
 * [12-Feb-2018 21:52:55 UTC] The The “add_to_cart_fragments” hook uses out of date
   data structures and function is deprecated since version 3.2.5. Replace with 
   woocommerce_add_to_cart_fragments.
 *  Thread Starter [stefpat](https://wordpress.org/support/users/stefpat/)
 * (@stefpat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967372)
 * Do you think It’s better to delete the migration and do it again from the beginning?
   May be with duplicator ?
 *  [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * (@rajanit2000)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967380)
 * No, This error needs to be fixed. You need to update your code where do you use“
   add_to_cart_fragments” this hook maybe your plugin or your theme
 *  Thread Starter [stefpat](https://wordpress.org/support/users/stefpat/)
 * (@stefpat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967395)
 * I have no idea…
    I have tried to desactivate the plugins and change the theme,
   but the problem is still there. How can I find where this code is ?
 *  [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * (@rajanit2000)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967401)
 * Check your error log file after deactivate plugins, Have the same error message?
 *  Thread Starter [stefpat](https://wordpress.org/support/users/stefpat/)
 * (@stefpat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967412)
 * Done.Still doesn’t work
    Same error, same essage, but also some hour as if it
   wasn’t updated
 *  [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * (@rajanit2000)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967418)
 * Internal server errors (error 500) are often caused by plugin or theme function
   conflicts, so if you have access to your admin panel, try deactivating all plugins.
   If you don’t have access to your admin panel, try [manually resetting your plugins](https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause.
    If that does not resolve the issue, try
   switching to the default theme for your version of WordPress to rule-out a theme-
   specific issue. If you don’t have access to your admin panel, access your server
   via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients), or a file manager
   in your hosting account’s control panel, navigate to `/wp-content/themes/` and
   rename the directory of your currently active theme. This will force the default
   theme to activate and hopefully rule-out a theme-specific issue. If that does
   not resolve the issue, it’s possible that a `.htaccess` rule could be the source
   of the problem. To check for this, access your server via SFTP or FTP, or a file
   manager in your hosting account’s control panel, and rename the `.htaccess` file.
   If you can’t find a `.htaccess` file, make sure that you have set your SFTP or
   FTP client to view invisible files. If you weren’t able to resolve the issue 
   by either resetting your plugins and theme or renaming your .htaccess file, we
   may be able to help, but we’ll need a more detailed error message. Internal server
   errors are usually described in more detail in the server error log. If you have
   access to your server error log, generate the error again, note the date and 
   time, then immediately check your server error log for any errors that occurred
   during that time period. If you don’t have access to your server error log, ask
   your hosting provider to look for you.
 * if not fixed
 * **Migrate again using Duplicator plugin **
 *  Thread Starter [stefpat](https://wordpress.org/support/users/stefpat/)
 * (@stefpat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967420)
 * I tried to compare the original files and the ones copied on my ftp connection
   and I have some new files such as :
    – package-locks.json – phpcs.xml Is it normal?
 *  [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * (@rajanit2000)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967429)
 * No its not issue, One for web pack another one for php code standard xml
 *  Thread Starter [stefpat](https://wordpress.org/support/users/stefpat/)
 * (@stefpat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967465)
 * I don’t undertsand very well what you want me to do with htaccess file…
 *  Thread Starter [stefpat](https://wordpress.org/support/users/stefpat/)
 * (@stefpat)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967482)
 * I will migrate again, but with duplicator…
    Do a delete both database and ftp
   files ?
 *  [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * (@rajanit2000)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967493)
 * Yes, you need to remove both, Duplicator can create new one

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Problem with migration’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 14 replies
 * 3 participants
 * Last reply from: [Rajan Vijayan](https://wordpress.org/support/users/rajanit2000/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/problem-with-migration-2/#post-9967493)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
