import icon indicating copy to clipboard operation
import copied to clipboard

Entries only import a single item then fails

Open garethredfern opened this issue 10 years ago • 12 comments

I am running the latest version of Import, I have mapped all the fields correctly and I am trying to replace the data. Here is what I get in the logs: Encountered an error running task 4 (Import), step 1 of 216: An exception was thrown: Property "Craft\Import_EntriesRecord.versionId" is not defined. Only the first line imports and then it fails.

garethredfern avatar Mar 26 '15 18:03 garethredfern

What license of Craft are you using?

boboldehampsink avatar Mar 26 '15 18:03 boboldehampsink

Ahh its just on a local install using craft.dev but with a Pro trial.

garethredfern avatar Mar 26 '15 18:03 garethredfern

Is it possible to use Import without buying a Craft licence?

garethredfern avatar Mar 26 '15 20:03 garethredfern

Could you try re-installing the plugin?

boboldehampsink avatar Mar 27 '15 09:03 boboldehampsink

Hi Bob, tried that and I am still getting the same issue.

garethredfern avatar Mar 27 '15 13:03 garethredfern

I had the same error. "solved" by commenting line 242 of Import_EntryService.php:

// Log element id's when successful // craft()->import_history->version($settings['history'], $element->id);

ghost avatar Mar 30 '15 10:03 ghost

Hi Gareth, did you click uninstall and then install again?

boboldehampsink avatar Mar 30 '15 12:03 boboldehampsink

Hi Bob, trying that gives me the following error:

screen shot 2015-03-30 at 19 56 57

garethredfern avatar Mar 30 '15 18:03 garethredfern

Using @jkenters solution worked for me though, everything imports when that line is commented out.

garethredfern avatar Mar 30 '15 19:03 garethredfern

Sorry for the late response. Is this bug still actual?

boboldehampsink avatar Oct 06 '15 19:10 boboldehampsink

I haven't done anything with it since my last comment so I guess so.

garethredfern avatar Oct 06 '15 19:10 garethredfern

I get this error as well. Commenting out craft()->import_history->version($settings['history'], $element->id); like @jkenters says did the trick! Import 0.8.32 - Craft CMS 2.6.2911

spoeken avatar Aug 17 '16 11:08 spoeken