• Hi, I have a problem importing wordpress posts using WP-CLI.
    I am moving posts from one server to another and need to include new posts. When importing them from WP-CLI, the import of images gives an error.
    My images are hosted on S3 and are public.

    Processing post #83327 ("Screenshot_1-3") (post_type: attachment)
    -- 219 of 220 (in file noticiasdeeltiempo.wordpress.2020-08-18.000.xml)
    -- Tue, 18 Aug 2020 12:37:15 +0000
    Error importing Media ?Screenshot_1-3?<br />

    Item in XML file:

    <item>
      <title>Screenshot_1-3</title>
      <link>https://otronews.eltiempo.es/branded/bosques-rutas-asturias-verano-bracon/screenshot_1-3-2/</link>
      <pubDate>Fri, 14 Aug 2020 10:58:26 +0000</pubDate>
      <dc:creator>Escael</dc:creator>
      <guid isPermaLink="false">https://otronews.eltiempo.es/wp-content/uploads/2020/07/Screenshot_1-3.jpg</guid>
      <description/>
      <content:encoded><![CDATA[]]></content:encoded>
      <excerpt:encoded><![CDATA[]]></excerpt:encoded>
      <wp:post_id>83327</wp:post_id>
      <wp:post_date>2020-08-14 12:58:26</wp:post_date>
      <wp:post_date_gmt>2020-08-14 10:58:26</wp:post_date_gmt>
      <wp:comment_status>open</wp:comment_status>
      <wp:ping_status>closed</wp:ping_status>
      <wp:post_name>screenshot_1-3-2</wp:post_name>
      <wp:status>inherit</wp:status>
      <wp:post_parent>83293</wp:post_parent>
      <wp:menu_order>0</wp:menu_order>
      <wp:post_type>attachment</wp:post_type>
      <wp:post_password/>
      <wp:is_sticky>0</wp:is_sticky>
      <wp:attachment_url>https://cdns3.eltiempo.es/eltiempo/blog/noticias/2020/07/14125826/Screenshot_1-3.jpg</wp:attachment_url>
      <wp:postmeta>
        <wp:meta_key>as3cf_filesize_total</wp:meta_key>
        <wp:meta_value><![CDATA[1349665]]></wp:meta_value>
      </wp:postmeta>
    </item>

    Image:
    https://cdns3.eltiempo.es/eltiempo/blog/noticias/2020/07/14125826/Screenshot_1-3.jpg

    Plugin S3:
    https://deliciousbrains.com/wp-offload-media/

    Thanks

    • This topic was modified 4 years, 3 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
    • This topic was modified 4 years, 3 months ago by escael.
  • The topic ‘Error images WP-CLI’ is closed to new replies.