Receiving this error when attempting to run a csv import of attendees:
Fatal error: Declaration of EventEspresso\AttendeeImporter\domain\services\batch\JobHandlers\AttendeeImporterBatchJob::create_job(EventEspressoBatchRequest\Helpers\JobParameters $job_parameters) must be compatible with EventEspressoBatchRequest\JobHandlerBaseClasses\JobHandlerInterface::create_job(EventEspressoBatchRequest\Helpers\JobParameters $job_parameters): EventEspressoBatchRequest\Helpers\JobStepResponse in /home/customer/www/kiros.org/public_html/wp-content/plugins/eea-importer/src/domain/services/batch/JobHandlers/AttendeeImporterBatchJob.php on line 75
We are receiving the same error when we attempt to use the Importer to load in a CSV file of registrants. Line 75.
Error message: Declaration of EventEspresso\AttendeeImporter\domain\services\batch\JobHandlers\AttendeeImporterBatchJob::create_job(EventEspressoBatchRequest\Helpers\JobParameters $job_parameters) must be compatible with EventEspressoBatchRequest\JobHandlerBaseClasses\JobHandlerInterface::create_job(EventEspressoBatchRequest\Helpers\JobParameters $job_parameters): EventEspressoBatchRequest\Helpers\JobStepResponse
I have just pushed an update live for the Importer add-on to fix this, but it will not show as available on your site just yet.
Go to your account page here on Event Espresso and download version 1.0.3.p of the importer add-on.
Then on the site itself go to Dashboard -> Plugins -> Add new -> Upload plugin.
Select the .zip file you just downloaded and upload it. WordPress should tell you there is a version installed already and ask if you want to replace it.
Confirm the plugin matches (except the version number) and click to replace.
The importer add-on should now work for you.
I downloaded the update and it is getting further into the process but my export still fails and now I get this error:
While running BatchRunner::createJob() the following RuntimeException occurred:
SplFileObject::__construct(/home/customer/www/thomasw113.sg-host.com/public_html/wp-content/uploads/espresso/attendee-importer/csv-uploads/GEURuKHOJXGHK1w/registrations-attendees-updated.csv): failed to open stream: No such file or directory
We first installed on April 26 and have been the same issues.
We upgraded last week to the update mentioned above (1.0.3p) and like @WAlkerDesigner, the process went a little further. This time we got an error screen with a detailed report. Previously we got the WP Critical ErrorWhite Screen and I had to find the specific error in the Log Files.
Our latest error is the same “No Such Directory”. And there is no directory when looking via FTP. There are several other randomly named directories created but none of those were successful uploads either, we have yet to have successful import.
So it seems before the update the direcories were being created and now they not. Hope this info helps.
Hey @afermtools and support – I found the issue and was able to successfully upload my CSV, although I had to do several attempts. What I found was that the State and Country fields require specific abbreviations, such as DE for Germany, and so any line items that were missing or incorrect for state or country would cause a crash.
I can confirm this issue and have an open ticket to address the issue with the State and Country columns.
What I found was that the State and Country fields require specific abbreviations, such as DE for Germany, and so any line items that were missing or incorrect for state or country would cause a crash.
However, this doesn’t appear correct looking at the code.
For states, the value passed will be used in the query with:
I checked with my team member and the file they were uploading had an empty state field on one of the records. After fixing that, the upload was successful. I’ll keep an eye out for an updated release.
Viewing 11 reply threads
The support post ‘Fatal Error when using the Importer’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.