Title: Database Migration Problem
Last modified: April 7, 2020

---

# Database Migration Problem

 *  Resolved [forlanistudio](https://wordpress.org/support/users/forlanistudio/)
 * (@forlanistudio)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/database-migration-problem-2/)
 * Migration database failed, this is the message:
    `Fatal error: Uncaught TypeError:
   Argument 1 passed to ActionScheduler_Abstract_Schedule::__construct() must be
   an instance of DateTime, null given, called in /home/preanali/public_html/wp-
   content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.
   php on line 26 and defined in /home/preanali/public_html/wp-content/plugins/woocommerce/
   packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_Schedule.
   php:25 Stack trace: #0 /home/preanali/public_html/wp-content/plugins/woocommerce/
   packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(26): ActionScheduler_Abstract_Schedule-
   >__construct(NULL) #1 /home/preanali/public_html/wp-content/plugins/woocommerce/
   packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php(203):
   ActionScheduler_ActionFactory->get_stored_action('canceled', 'wpforms_process...',
   Array, Object(ActionScheduler_NullSchedule), 'wpforms') #2 /home/preanali/public_html/
   wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stor in/
   home/preanali/public_html/wp-content/plugins/woocommerce/packages/action-scheduler/
   classes/abstracts/ActionScheduler_Abstract_Schedule.php on line 25`

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

 *  Thread Starter [forlanistudio](https://wordpress.org/support/users/forlanistudio/)
 * (@forlanistudio)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/database-migration-problem-2/#post-12671044)
 * Someone can help me?
 *  [Remi Corson](https://wordpress.org/support/users/corsonr/)
 * (@corsonr)
 * Automattic Happiness Engineer
 * [6 years, 1 month ago](https://wordpress.org/support/topic/database-migration-problem-2/#post-12676165)
 * Hi there,
 * Can you please:
 * – disable all extensions except WooCommerce
    – switch temporarily to a default
   theme – try to re-run the DB update and see if the same error occurs?
 * Thanks
 *  Thread Starter [forlanistudio](https://wordpress.org/support/users/forlanistudio/)
 * (@forlanistudio)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/database-migration-problem-2/#post-12676465)
 * Thank you for reply.
 * I did exactly what was requested, unfortunately the result does not change.
 * Thanks
 *  Thread Starter [forlanistudio](https://wordpress.org/support/users/forlanistudio/)
 * (@forlanistudio)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/database-migration-problem-2/#post-12750667)
 * Can someone help me?
 *  [Remi Corson](https://wordpress.org/support/users/corsonr/)
 * (@corsonr)
 * Automattic Happiness Engineer
 * [5 years, 11 months ago](https://wordpress.org/support/topic/database-migration-problem-2/#post-13017510)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

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

The topic ‘Database Migration Problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Remi Corson](https://wordpress.org/support/users/corsonr/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/database-migration-problem-2/#post-13017510)
 * Status: resolved