While trying to import a CSV file to a MySQL Database, I cannot locate the cause of the following error. Anyone have an idea of how to decipher this: Both parameters should have an equal number of elements?
What parameters need to have the same number of elements?
Thanks for any assistance.
{
“code”: 0,
“file”: “/home/blaxstud/public_html/practice/dmxConnectLib/modules/import.php”,
“line”: 42,
“message”: “array_combine(): Both parameters should have an equal number of elements”,
“trace”: “#0 [internal function]: exception_error_handler(2, ‘array_combine()…’, ‘/home/blaxstud/…’, 42, Array)\n#1 /home/blaxstud/public_html/practice/dmxConnectLib/modules/import.php(42): array_combine(Array, Array)\n#2 /home/blaxstud/public_html/practice/dmxConnectLib/lib/App.php(195): modules\import->csv(Object(stdClass), ‘csv_import’)\n#3 /home/blaxstud/public_html/practice/dmxConnectLib/lib/App.php(159): lib\App->execSteps(Object(stdClass))\n#4 /home/blaxstud/public_html/practice/dmxConnectLib/lib/App.php(127): lib\App->execSteps(Array)\n#5 /home/blaxstud/public_html/practice/dmxConnectLib/lib/App.php(116): lib\App->exec(Object(stdClass), false)\n#6 /home/blaxstud/public_html/practice/dmxConnectLib/lib/App.php(94): lib\App->exec(Object(stdClass))\n#7 /home/blaxstud/public_html/practice/dmxConnect/api/Imports/csv_import.php(579): lib\App->define(’{\n “meta”: {\n …’)\n#8 {main}”
}
Last updated: