Hi,
I get a 500 error when I try to import a csv file for transactions. With the import of invoices I do not encounter any problems.
Do you have an idea ?
Hi,
I get a 500 error when I try to import a csv file for transactions. With the import of invoices I do not encounter any problems.
Do you have an idea ?
Hi,
Are there any details about the error in storage/logs?
Also, which version of the app are you using?
I use the v5.5.81-W109 version. The installation was done from softaculous and the update from the application. Couldn’t the problem come from there?
I can’t find anything about it in the log file.
Not sure… if you see a 500 in the app there will be details about the error in either the app logs (in storage/logs) or the web server error logs.
Sorry, I was looking at the wrong log file. Here is the error :
[2023-03-06 08:29:16] production.ERROR: array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements {“userId”:1,“exception”:"[object] (ValueError(code: 0): array_combine(): Argument #1 ($keys) and argument #2 ($values) must have the same number of elements at /home/sc2mama2836/walma.fr/facture/app/Import/Providers/BaseImport.php:656)
Should I copy all the details of the error?
There is an issue with csv imports, which I have a fix for in the next release.
The problem was with detecting the correct delimiter, I believe the next release should be more consistent with this.
ok, thank you for your attention.