Import CSV PHP warnings.
-
Hi ??
I am trying to import the EDD generated cvs exports into a new database and I am running into things.Importing the downloads.csv appears to run fine, but when I opened the debug.log there were a lot of lines with the same warnings:
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /easy-digital-downloads/includes/libraries/parsecsv.lib.php on...
lines: 551, 552, 553, 662, 669, 670, 671, 699, 700 & 1046.There are also 3 PHP Notices:
Undefined offset: 1 in /easy-digital-downloads/includes/admin/import/class-batch-import-payments.php on line 544 + 546 + 552
And one warning:
PHP Warning: A non-numeric value encountered in /easy-digital-downloads/includes/admin/import/class-batch-import-payments.php on line 560
If I then import the payments.csv all Downloads (posts) are doubled as Draft.
It seems EDD is still using the parseCSV class version 0.43 beta, while the current version on Github (URL in the parsecsv.lib.php file) is 1.2.1.
I have also exported the license-keys.csv, but I cannot seem to find any import option. Could you please help me?
- The topic ‘Import CSV PHP warnings.’ is closed to new replies.