Hello,
I’ve re-read the original inquiry, I understand the error received is pointing to WooCommerce. Typically, this could be a plugin/theme conflict. I recommend you to check the following:
1. Outdated plugins or themes: If plugins or themes are not up-to-date, they might not be compatible with the current version of WooCommerce. This can lead to unexpected behavior or conflicts. Be sure to update your plugins and themes to the latest version.
2. Custom code: Please check if the site is implementing any custom code, you can disable it to check if it is affecting the normal behavior when importing a file. Custom code can be found in your functions.php file, or it can be implemented via plugins, e.g. the code snippets plugin.
3. Multiple plugins handling the same functionality: When two or more plugins try to perform the same or similar functions, they may conflict with each other. If you have a plugin to import products, you can temporarily disable it to see if it affects the WooCommerce behavior.
4. Limited server resources: If your server has limited resources (e.g., memory, processing power, etc.), multiple plugins running simultaneously can cause conflicts.
To pinpoint a plugin conflict, you can perform a plugin conflict test as previously advised, moreover, enabling WordPress debugging (by adding define(‘WP_DEBUG’, true); to your wp-config.php file) can help identify any error messages related to the conflict.
If that does not help, please share your System Status Report, found under WooCommerce > Status, on your site, that will permit us to take a closer look at the site’s configuration.
Best.