Give the gift of Drupal. All merchandise is 50% off through 2016.
I have created Importer to load products into commerce module from xml file. Mappings and xpath query are configured. But I get an error message
Warning: strpos() expects parameter 1 to be string, array given в функции commerce_product_validate_sku() (строка 686 в файле D:\OpenServer\domains\drupal7\sites\all\modules\commerce\modules\product\commerce_product.module).
I have been tried to investigate this problem myself but I have not enough experience in Drupal.
The problem is reproduced only if the xml document contains more than one items to import. If only one item in the xml file import succeeds.
I have attached screenshot which explains the entity object. I'm not sure maybe this is XPath XML parser problem.