Unable to open source data on import

Created on 25 April 2020, over 4 years ago
Updated 24 September 2023, over 1 year ago

Hello,

I am a beginner, I am trying drupal.

I am migrating my website from wordpress
When I am clicking execute on the https://example.com/admin/structure/migrate/manage/my_wordpress/migratio..., I am receiving a webpage

Can you please help?

πŸ’¬ Support request
Status

Postponed: needs info

Version

3.0

Component

Code

Created by

πŸ‡²πŸ‡ΊMauritius joker307

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States oknaru

    HongPong I am getting similar error with D9.5, PHP8.1.13, with migrate_tools:5.2.0, migrate_plus:5.3.0, wp_migrate:3.0.0-alpha5, migrate_upgrade:3.2.0.(Can you please confirm the compatible migrate modules for the wp_migrate module)

    Warning: XMLReader::open(): Unable to open source data in Drupal\migrate_plus\Plugin\migrate_plus\data_parser\Xml->openSourceUrl() (line 184 of modules\contrib\migrate_plus\src\Plugin\migrate_plus\data_parser\Xml.php).
    Drupal\migrate_plus\Plugin\migrate_plus\data_parser\Xml->openSourceUrl('public://source.xml') (Line: 170)
    Drupal\migrate_plus\DataParserPluginBase->nextSource() (Line: 105)
    Drupal\migrate_plus\DataParserPluginBase->next() (Line: 95)
    Drupal\migrate_plus\DataParserPluginBase->rewind() (Line: 168)
    Drupal\migrate_plus\Plugin\migrate_plus\data_parser\Xml->rewind() (Line: 218)
    Drupal\migrate_plus\DataParserPluginBase->count() (Line: 539)
    Drupal\migrate\Plugin\migrate\source\SourcePluginBase->doCount() (Line: 509)
    Drupal\migrate\Plugin\migrate\source\SourcePluginBase->count() (Line: 177)
    Drupal\migrate_tools\Controller\MigrationListBuilder->buildRow(Object) (Line: 219)
    Drupal\Core\Entity\EntityListBuilder->render() (Line: 23)
    Drupal\Core\Entity\Controller\EntityListController->listing('migration')
    call_user_func_array(Array, Array) (Line: 123)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
    Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
    Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
    Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
    Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
    Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
    Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
    Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
    Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
    Deprecated function: Implicit conversion from float 1694030686.672 to int loses precision in Drupal\Component\Datetime\DateTimePlus->__call() (line 360 of core\lib\Drupal\Component\Datetime\DateTimePlus.php).
    Drupal\Component\Datetime\DateTimePlus->__call('setTimestamp', Array) (Line: 204)
    Drupal\Component\Datetime\DateTimePlus::createFromTimestamp(1694030686.672, Object, Array) (Line: 122)
    Drupal\Core\Datetime\DateFormatter->format(1694030686.672, 'custom', 'Y-m-d H:i:s') (Line: 201)
    Drupal\migrate_tools\Controller\MigrationListBuilder->buildRow(Object) (Line: 219)
    Drupal\Core\Entity\EntityListBuilder->render() (Line: 23)
    Drupal\Core\Entity\Controller\EntityListController->listing('migration')
    call_user_func_array(Array, Array) (Line: 123)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
    Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
    Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
    Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
    Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
    Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
    Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
    Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
    Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

  • πŸ‡ΊπŸ‡ΈUnited States hongpong Philadelphia

    Hello oknaru please try with migrate_plus:6.x and wordpress_migrate:3.0.0-alpha6 . migrate_upgrade appears to recommend 4.x but I am not familiar -- that is for upgrading old Drupal sites, not Wordpress sites, so maybe it is causing a conflict. If the problem recurs I suggest filing a new issue rather than on this old one, to avoid confusion.

Production build 0.71.5 2024