We see this error a lot when we import products in cs-cart
[02-Dec-2015 02:42:39 Asia/Calcutta] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'fn_import_check_product_company_id' not found or invalid function name in /home/fleaffai/public_html/app/controllers/backend/exim.php on line 1638
function fn_exim_processing($type_processing, $processing, $options, $vars = array())
{
$result = true;
foreach ($processing as $data) {
if ((!empty($data['import_only']) && $type_processing == 'export') || (!empty($data['export_only']) && $type_processing == 'import')) {
continue;
}
$args = fn_exim_get_values($data['args'], array(), $options, array(), $vars, '');
Line 1638—> $result = call_user_func_array($data[‘function’], $args) && $result;
}
return $result;
}
We see this error a lot when we import products in cs-cart
[02-Dec-2015 02:42:39 Asia/Calcutta] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'fn_import_check_product_company_id' not found or invalid function name in /home/fleaffai/public_html/app/controllers/backend/exim.php on line 1638
function fn_exim_processing($type_processing, $processing, $options, $vars = array())
{
$result = true;
foreach ($processing as $data) {
if ((!empty($data['import_only']) && $type_processing == 'export') || (!empty($data['export_only']) && $type_processing == 'import')) {
continue;
}
$args = fn_exim_get_values($data['args'], array(), $options, array(), $vars, '');
Line 1638—> $result = call_user_func_array($data[‘function’], $args) && $result;
}
return $result;
}
What product are you using: CS-Cart or Multi-Vendor? The fn_import_check_product_company_id function definition exists only in CS-Cart and should not be called in Multi-Vendor.
Please specify the product, its version (http://kb.cs-cart.com/what-cscart-version) and provide the CSV file you are using.
The version is MVE 4.2.4 , can you provide an email id and I can mail u the csv
The version is MVE 4.2.4 , can you provide an email id and I can mail u the csv
Please attach the file to your answer so we could check it.