Hi, not sure if it's a problem with the new plugins or CommonFunctions.class.php but when clicking on Import in database view:
Cannot use object of type ImportCsv as array in /libraries/CommonFunctions.class.php on line 3540
Tested with PHP 5.4.4.
On Tue, Jul 3, 2012 at 4:10 PM, Marc Delisle marc@infomarc.info wrote:
Hi, not sure if it's a problem with the new plugins or CommonFunctions.class.php but when clicking on Import in database view:
Cannot use object of type ImportCsv as array in /libraries/CommonFunctions.class.php on line 3540
Tested with PHP 5.4.4.
Marc,
I selected a database, went to the Import tab, I selected a file (CSV format), clicked Go and I did not get that error. However, I looked at that line and indeed I found a bug, which I now corrected. So what should have I done different in order to see the error you mentioned?
-- Alex
Le 2012-07-03 14:34, Alex Marin a écrit :
On Tue, Jul 3, 2012 at 4:10 PM, Marc Delisle marc@infomarc.info wrote:
Hi, not sure if it's a problem with the new plugins or CommonFunctions.class.php but when clicking on Import in database view:
Cannot use object of type ImportCsv as array in /libraries/CommonFunctions.class.php on line 3540
Tested with PHP 5.4.4.
Marc,
I selected a database, went to the Import tab, I selected a file (CSV format), clicked Go and I did not get that error. However, I looked at that line and indeed I found a bug, which I now corrected. So what should have I done different in order to see the error you mentioned?
I had this message just by opening a database or table and clicking Import.
With your repo, the error message is gone, thanks. Will someone merge this fix to upstream?