Title: import critical error
Last modified: June 14, 2018

---

# import critical error

 *  Resolved [houseofbats1](https://wordpress.org/support/users/houseofbats1/)
 * (@houseofbats1)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/import-critical-error/)
 * Hi I’m developing a WooCommerce page, with almost 2k products. We need to update
   prices so I did an export, changed the prices and when I try to import the new
   file the importer gets stucket. So I went to check the log and I get this error:
 *     ```
       2018-06-13T14:53:58+00:00 CRITICAL Uncaught Error: Call to a member function get_variation() on string in /home/wp_kpvyw8/derpol.dream.press/wp-content/plugins/woocommerce/includes/import/abstract-wc-product-importer.php:508
       Stack trace:
       #0 /home/wp_kpvyw8/derpol.dream.press/wp-content/plugins/woocommerce/includes/import/abstract-wc-product-importer.php(441): WC_Product_Importer->get_variation_parent_attributes(Array, Object(WC_Product_Variation))
       #1 /home/wp_kpvyw8/derpol.dream.press/wp-content/plugins/woocommerce/includes/import/abstract-wc-product-importer.php(254): WC_Product_Importer->set_variation_data(Object(WC_Product_Variation), Array)
       #2 /home/wp_kpvyw8/derpol.dream.press/wp-content/plugins/woocommerce/includes/import/class-wc-product-csv-importer.php(918): WC_Product_Importer->process_item(Array)
       #3 /home/wp_kpvyw8/derpol.dream.press/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-importers.php(222): WC_Product_CSV_Importer->import()
       #4 /home/wp_kpvyw8/derpol.dream.press/wp-includes/class-wp-hook.php(286): WC_Admin_Impo
       ```
   
 * It’s not a data issue since even if I try to import the same file exported without
   any changes still have the same error.
    What could be the issue?
    -  This topic was modified 7 years, 11 months ago by [houseofbats1](https://wordpress.org/support/users/houseofbats1/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimport-critical-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Ryan Ray, a11n](https://wordpress.org/support/users/ryanr14/)
 * (@ryanr14)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/import-critical-error/#post-10400683)
 * Hi there,
 * That’s an interesting issue indeed! Would you be able to share your exported 
   but unchanged CSV file?
 * Also, could you please share a copy of your site’s System Status? You can find
   it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”.
   Once you’ve done that, paste it here in your response.
 *  Thread Starter [houseofbats1](https://wordpress.org/support/users/houseofbats1/)
 * (@houseofbats1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/import-critical-error/#post-10401843)
 * Hi thanks for the reply. Here is the status. I’ll see to attach the file later.
 *     ```
       ### WordPress Environment ###
   
       Home URL: https://derpol.dream.press
       Site URL: https://derpol.dream.press
       WC Version: 3.3.5
       Log Directory Writable: ✔
       WP Version: 4.9.6
       WP Multisite: –
       WP Memory Limit: 256 MB
       WP Debug Mode: –
       WP Cron: ✔
       Language: es_ES
   
       ### Server Environment ###
   
       Server Info: Apache
       PHP Version: 7.1.17
       PHP Post Max Size: 65 MB
       PHP Time Limit: 30
       PHP Max Input Vars: 1000
       cURL Version: 7.35.0
       OpenSSL/1.0.1f
   
       SUHOSIN Installed: –
       MySQL Version: 5.6.39
       Max Upload Size: 64 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔
   
       ### Database ###
   
       WC Database Version: 3.3.5
       WC Database Prefix: wp_thxtmr
       MaxMind GeoIP Database: ✔
       Tamaño total de la base de datos: 22.22MB
       Tamaño de los datos de la base de datos: 13.54MB
       Tamaño del índice de la base de datos: 8.68MB
       wp_thxtmrwoocommerce_sessions: Datos: 0.02MB + Índice: 0.02MB
       wp_thxtmrwoocommerce_api_keys: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrwoocommerce_attribute_taxonomies: Datos: 0.02MB + Índice: 0.02MB
       wp_thxtmrwoocommerce_downloadable_product_permissions: Datos: 0.02MB + Índice: 0.05MB
       wp_thxtmrwoocommerce_order_items: Datos: 0.02MB + Índice: 0.02MB
       wp_thxtmrwoocommerce_order_itemmeta: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrwoocommerce_tax_rates: Datos: 0.02MB + Índice: 0.06MB
       wp_thxtmrwoocommerce_tax_rate_locations: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrwoocommerce_shipping_zones: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwoocommerce_shipping_zone_locations: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrwoocommerce_shipping_zone_methods: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwoocommerce_payment_tokens: Datos: 0.02MB + Índice: 0.02MB
       wp_thxtmrwoocommerce_payment_tokenmeta: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrwoocommerce_log: Datos: 0.02MB + Índice: 0.02MB
       wp_thxtmralm: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrcommentmeta: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrcomments: Datos: 0.02MB + Índice: 0.09MB
       wp_thxtmrlinks: Datos: 0.02MB + Índice: 0.02MB
       wp_thxtmroptions: Datos: 2.28MB + Índice: 0.14MB
       wp_thxtmrpostmeta: Datos: 8.52MB + Índice: 7.03MB
       wp_thxtmrposts: Datos: 1.52MB + Índice: 0.59MB
       wp_thxtmrrevslider_css: Datos: 0.13MB + Índice: 0.00MB
       wp_thxtmrrevslider_layer_animations: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrrevslider_navigations: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrrevslider_sliders: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrrevslider_slides: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrrevslider_static_slides: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrsmush_dir_images: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrsnippets: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrtermmeta: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrterms: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrterm_relationships: Datos: 0.14MB + Índice: 0.13MB
       wp_thxtmrterm_taxonomy: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrusermeta: Datos: 0.08MB + Índice: 0.03MB
       wp_thxtmrusers: Datos: 0.02MB + Índice: 0.05MB
       wp_thxtmrwcfm_daily_analysis: Datos: 0.02MB + Índice: 0.02MB
       wp_thxtmrwcfm_detailed_analysis: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwcfm_enquiries: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwcfm_following_followers: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwcfm_messages: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwcfm_messages_modifier: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwcfm_messages_stat: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwcfm_support: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwcfm_support_response: Datos: 0.02MB + Índice: 0.00MB
       wp_thxtmrwc_download_log: Datos: 0.02MB + Índice: 0.03MB
       wp_thxtmrwc_webhooks: Datos: 0.02MB + Índice: 0.02MB
       wp_thxtmryoast_seo_links: Datos: 0.05MB + Índice: 0.02MB
       wp_thxtmryoast_seo_meta: Datos: 0.02MB + Índice: 0.00MB
   
       ### Post Type Counts ###
   
       attachment: 567
       custom_css: 2
       customize_changeset: 36
       elementor_library: 15
       elementor-hf: 3
       nav_menu_item: 10
       page: 16
       post: 2
       product: 858
       product_variation: 870
       revision: 94
       tt_font_control: 1
   
       ### Security ###
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ✔
   
       ### Active Plugins (29) ###
   
       a3 Lazy Load: por a3rev Software – 1.8.7
       Add to Cart Button Custom Text: por Enrique J. Ros – 2.1.0 – No probado con la versión activa de WooCommerce
       AJAX Search for WooCommerce: por Damian Góra – 1.1.7
       All-in-One WP Migration: por ServMask – 6.69
       Code Snippets: por Shea Bunge – 2.10.1.1
       Disable Variable Product Price Range Woocommerce: por Geek Web Solution – 1.0 – No probado con la versión activa de WooCommerce
       Disable All WordPress Updates: por Oliver Schlöbe – 1.6.3
       Duplicate Post: por Enrico Battocchi – 3.2.2
       Dynamic Pricing and Discounts for WooCommerce Basic Version: por xadapter – 3.3.9
       Easy Smooth Scroll Links: por pandasilk – 2.1.1
       Elementor Pro: por Elementor.com – 1.9.3
       Elementor: por Elementor.com – 2.0.9
       Favicon by RealFaviconGenerator: por Philippe Bernard – 1.3.11
       Header Footer Elementor: por Brainstorm Force
       Nikhil Chavan – 1.0.12
   
       Ajax Pagination and Infinite Scroll: por Malinky – 2.0.1 – No probado con la versión activa de WooCommerce
       myStickymenu: por m.r.d.a – 2.0.5
       Ocean Extra: por OceanWP – 1.4.11
       Regenerate Thumbnails: por Alex Mills (Viper007Bond) – 3.0.2
       WooCommerce Cart: por XootiX – 1.0.2 – No probado con la versión activa de WooCommerce
       Simple Tooltips: por Justin Saad – 2.1.3
       Sticky Menu (or Anything!) on Scroll: por Mark Senff – 2.1.1
       WooCommerce Frontend Manager: por WC Lovers – 4.1.0
       WooCommerce Menu Cart: por Jeremiah Prummer
       Ewout Fernhout – 2.7.0
   
       WooCommerce: por Automattic – 3.3.5
       Yoast SEO: por Equipo Yoast – 7.4.2
       Administrador de archivos WP: por mndpsingh287 – 2.4
       WP Smush: por WPMU DEV – 2.7.8
       YITH Infinite Scrolling: por YITHEMES – 1.0.9
       YITH WooCommerce Added to Cart Popup: por YITHEMES – 1.3.0 – No probado con la versión activa de WooCommerce
   
       ### Settings ###
   
       API Enabled: ✔
       Force SSL: –
       Currency: ARS ($)
       Currency Position: left
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
       Taxonomies: Product Types: external (external)
       grouped (grouped)
       simple (simple)
       variable (variable)
   
       Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
       exclude-from-search (exclude-from-search)
       featured (featured)
       outofstock (outofstock)
       rated-1 (rated-1)
       rated-2 (rated-2)
       rated-3 (rated-3)
       rated-4 (rated-4)
       rated-5 (rated-5)
   
       ### WC Pages ###
   
       Base de la tienda: #6 - /shop/
       Carrito: #7 - /cart/
       Finalizar compra: #8 - /checkout/
       Mi cuenta: #9 - /my-account/
       Términos y condiciones: ❌ Página sin definir
   
       ### Theme ###
   
       Name: OceanWP
       Version: 1.5.13 – 1.5.16 está disponible
       Author URL: https://oceanwp.org/about-me/
       Child Theme: ❌ – Si estás modificando WooCommerce en un tema padre que no has creado personalmente
       te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo
   
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Overrides: oceanwp/woocommerce/cart/mini-cart.php
       oceanwp/woocommerce/content-product.php
       oceanwp/woocommerce/loop/loop-start.php
       oceanwp/woocommerce/single-product/title.php
       ```
   
 *  [jessepearson](https://wordpress.org/support/users/jessepearson/)
 * (@jessepearson)
 * Automattic Happiness Engineer
 * [7 years, 10 months ago](https://wordpress.org/support/topic/import-critical-error/#post-10405103)
 * [@houseofbats1](https://wordpress.org/support/users/houseofbats1/) I see you 
   are on WooCommerce 3.3.5, would you be able to update to 3.4.2 to see if this
   corrects the issue? If not, please provide the csv file so we can take a look.
   You can add it to Dropbox, Google Drive, or add it as a sheet to Google Sheets
   and send us the link.
 *  Thread Starter [houseofbats1](https://wordpress.org/support/users/houseofbats1/)
 * (@houseofbats1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/import-critical-error/#post-10411412)
 * Thanks for the feedback, updating did not resolve the issue.
    Here is the CSV
   [https://www.dropbox.com/s/lzm0bz5z26jcfil/wc-product-export-13-6-2018-1528909808206.csv?dl=0](https://www.dropbox.com/s/lzm0bz5z26jcfil/wc-product-export-13-6-2018-1528909808206.csv?dl=0)
 *  [Thomas Shellberg](https://wordpress.org/support/users/shellbeezy/)
 * (@shellbeezy)
 * Automattic Happiness Engineer
 * [7 years, 10 months ago](https://wordpress.org/support/topic/import-critical-error/#post-10411838)
 * [@houseofbats1](https://wordpress.org/support/users/houseofbats1/) – I didn’t
   have any errors when importing that file, although, because the header columns
   were in Spanish, I had to manually perform the mapping function when importing(
   thus I didn’t map all of the columns, just the most important ones).
 * First, when you import, you are checking the **Update existing products** option,
   right?
 * Second, when you import, you are making sure that the properties are all mapped
   properly according to the name of the column header?
 * [https://docs.woocommerce.com/document/product-csv-importer-exporter/#section-5](https://docs.woocommerce.com/document/product-csv-importer-exporter/#section-5)
 *  [Kenin](https://wordpress.org/support/users/kbassart/)
 * (@kbassart)
 * Automattic Happiness Engineer
 * [7 years, 10 months ago](https://wordpress.org/support/topic/import-critical-error/#post-10432318)
 * 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 6 replies - 1 through 6 (of 6 total)

The topic ‘import critical error’ 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/)

 * 6 replies
 * 5 participants
 * Last reply from: [Kenin](https://wordpress.org/support/users/kbassart/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/import-critical-error/#post-10432318)
 * Status: resolved