- 🇺🇸United States Greg Boggs Portland Oregon
You don't run migrations on your production server. You run them on your computer and then upload the results of the migration to your website.
- e7e7cdda committed on 1.2.x
Issue #3330063: Using with web UI. Migrate tools...
- e7e7cdda committed on 1.2.x
- Status changed to Fixed
almost 2 years ago 3:48pm 9 February 2023 - 🇮🇳India Jeya sundhar Coimbatore
Hi @newswatch
Now we could run views migration using UI with migrate_plus → module support
Now It's available in latest release. - 🇮🇳India newswatch Delhi/Bangalore
Hi Jeya. Thanks. Will check it out and give feedback. Regards. - Subir
- 🇮🇳India newswatch Delhi/Bangalore
Hi Jeya:
I ran into this error:
TypeError: reset(): Argument #1 ($array) must be of type array, null given in reset() (line 134 of /home/xxx/core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php)
After uninstalling View Migration, Migrate Tools and Migrate Plus. I was able to upgrade.
- 🇮🇳India newswatch Delhi/Bangalore
I tried again with another site. Same issue.
I am pasting the full error message:
[15-Feb-2023 11:20:56 Asia/Kolkata] TypeError: reset(): Argument #1 ($array) must be of type array, null given in /home/pgt/pgt2023.paranjoy.net/core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php on line 134 #0 /home/pgt/pgt2023.paranjoy.net/core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php(134): reset(NULL) #1 /home/pgt/pgt2023.paranjoy.net/core/modules/migrate_drupal/src/MigrationState.php(342): Drupal\migrate\Plugin\migrate\destination\DestinationBase->getDestinationModule() #2 /home/pgt/pgt2023.paranjoy.net/core/modules/migrate_drupal/src/MigrationState.php(301): Drupal\migrate_drupal\MigrationState->buildDiscoveredDestinationsBySource('7', Array, Array) #3 /home/xxx/core/modules/migrate_drupal/src/MigrationState.php(244): Drupal\migrate_drupal\MigrationState->buildUpgradeState('7', Array, Array) #4 /home/xxx/core/modules/migrate_drupal_ui/src/Form/ReviewForm.php(133): Drupal\migrate_drupal\MigrationState->getUpgradeStates('7', Array, Array) #5 [internal function]: Drupal\migrate_drupal_ui\Form\ReviewForm->buildForm(Array, Object(Drupal\Core\Form\FormState)) #6 /home/xxx/core/lib/Drupal/Core/Form/FormBuilder.php(534): call_user_func_array(Array, Array) #7 /home/xxx/core/lib/Drupal/Core/Form/FormBuilder.php(281): Drupal\Core\Form\FormBuilder->retrieveForm('migrate_drupal_...', Object(Drupal\Core\Form\FormState)) #8 /home/xxx/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\migrate_drupal_ui\Form\ReviewForm), Object(Drupal\Core\Form\FormState)) #9 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch)) #10 /home/xxx/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #11 /home/xxx/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #12 /home/xxx/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #13 /home/xxx/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #14 /home/xxx/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #15 /home/xxx/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #16 /home/xxx/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /home/xxx/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /home/xxx/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/xxx/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/xxx/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/xxx/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /home/xxx/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /home/xxx/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /home/xxx/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #25 {main}
Automatically closed - issue fixed for 2 weeks with no activity.