AvS_FastSimpleImport icon indicating copy to clipboard operation
AvS_FastSimpleImport copied to clipboard

HP Fatal error: Uncaught exception 'Mage_Core_Exception' with message 'Entity is unknown' /app/Mage.php:595

Open antouanbg opened this issue 8 years ago • 0 comments

Dear Sir,

Any idea why I am getting app/code/core/Mage/ImportExport/Model/Import.php(228): Mage::throwException('Entity is unkno...') Magento 1.9.2, php code:


$entities = array( array( 'sku' => 7777777777, '_type' => 'simple', '_attribute_set' => 'Default', '_product_websites' => 'base', 'name' => 'Simple Product', 'price' => 2.99, 'description' => 'Default', 'short_description' => 'Default', 'weight' => 0, 'status' => 1, 'visibility' => 4, 'tax_class_id' => 2, 'qty' => 88, ), // add more products here

);

print_r ($entities);

$api->porecessProductImport($entities);

}

catch (Exception $e) { print_r($api->getErrorMessage()); }

Thank you in advance for the advise!

antouanbg avatar Jun 06 '16 16:06 antouanbg