rate. * @return void * * @deprecated 8.0.0 Use `fetch_sanitized_migration_data` and `process_migration_data` instead. */ abstract protected function process_migration_batch_for_ids_core( array $entity_ids ): void; /** * Check if the amount of processed database rows matches the amount of orders to process, and log an error if not. * * @param string $operation Operation performed, 'insert' or 'update'. * @param array|bool $received_rows_count Value returned by @wpdb after executing the query. * @return void */ protected function maybe_add_insert_or_update_error( string $operation, $received_rows_count ) { if ( false === $received_rows_count ) { $this->add_error( "$operation operation didn't complete, the database query failed" ); } } }
Fatal error: Uncaught Error: Class "Automattic\WooCommerce\Database\Migrations\TableMigrator" not found in /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Database/Migrations/MetaToCustomTableMigrator.php:14 Stack trace: #0 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php(102): require() #1 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostToOrderTableMigrator.php(15): Automattic\Jetpack\Autoloader\jp873bafa9ae6aaccf6c844a0451868b60\al5_0_0\PHP_Autoloader::load_class('Automattic\\WooC...') #2 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php(102): require('/htdocs/top-rei...') #3 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Database/Migrations/CustomOrderTable/PostsToOrdersMigrationController.php(46): Automattic\Jetpack\Autoloader\jp873bafa9ae6aaccf6c844a0451868b60\al5_0_0\PHP_Autoloader::load_class('Automattic\\WooC...') #4 [internal function]: Automattic\WooCommerce\Database\Migrations\CustomOrderTable\PostsToOrdersMigrationController->__construct() #5 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(142): ReflectionClass->newInstance() #6 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(116): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->instantiate_class_using_reflection('Automattic\\WooC...', Array) #7 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(167): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->get_core('Automattic\\WooC...', Array) #8 [internal function]: Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->Automattic\WooCommerce\Internal\DependencyManagement\{closure}(Object(ReflectionParameter)) #9 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(156): array_map(Object(Closure), Array) #10 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(116): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->instantiate_class_using_reflection('Automattic\\WooC...', Array) #11 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(167): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->get_core('Automattic\\WooC...', Array) #12 [internal function]: Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->Automattic\WooCommerce\Internal\DependencyManagement\{closure}(Object(ReflectionParameter)) #13 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(156): array_map(Object(Closure), Array) #14 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(116): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->instantiate_class_using_reflection('Automattic\\WooC...', Array) #15 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Internal/DependencyManagement/RuntimeContainer.php(75): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->get_core('Automattic\\WooC...', Array) #16 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Container.php(119): Automattic\WooCommerce\Internal\DependencyManagement\RuntimeContainer->get('Automattic\\WooC...') #17 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php(323): Automattic\WooCommerce\Container->get('Automattic\\WooC...') #18 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php(237): WooCommerce->init_hooks() #19 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/includes/class-woocommerce.php(155): WooCommerce->__construct() #20 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/woocommerce.php(47): WooCommerce::instance() #21 /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/woocommerce.php(62): WC() #22 /htdocs/top-reisetasche.com/wp-settings.php(526): include_once('/htdocs/top-rei...') #23 /htdocs/top-reisetasche.com/wp-config.php(98): require_once('/htdocs/top-rei...') #24 /htdocs/top-reisetasche.com/wp-load.php(50): require_once('/htdocs/top-rei...') #25 /htdocs/top-reisetasche.com/wp-blog-header.php(13): require_once('/htdocs/top-rei...') #26 /htdocs/top-reisetasche.com/index.php(17): require('/htdocs/top-rei...') #27 {main} thrown in /htdocs/top-reisetasche.com/wp-content/plugins/woocommerce/src/Database/Migrations/MetaToCustomTableMigrator.php on line 14
rate. * @return void * * @deprecated 8.0.0 Use `fetch_sanitized_migration_data` and `process_migration_data` instead. */ abstract protected function process_migration_batch_for_ids_core( array $entity_ids ): void; /** * Check if the amount of processed database rows matches the amount of orders to process, and log an error if not. * * @param string $operation Operation performed, 'insert' or 'update'. * @param array|bool $received_rows_count Value returned by @wpdb after executing the query. * @return void */ protected function maybe_add_insert_or_update_error( string $operation, $received_rows_count ) { if ( false === $received_rows_count ) { $this->add_error( "$operation operation didn't complete, the database query failed" ); } } }