Posted: August 27, 2019 at 5:43 am
We’re trying the Importer add-on to import registrations (which were exported as CSV files from an old installation). However, we cannot get past (1) Choose Event because we’re getting the following error message:
Please help. Thanks. |
|
Hi there, Can you let me know which version of PHP, WordPress and Event Espresso you are running on the site, please? |
|
Hi Toby, We’re using Event Espresso 4.10.0.p Looking forward to your next reply. Thanks. |
|
My apologies for misspelling your name, Tony (slaps forehead). |
|
I passed your reply over to Toby and he’s looking into it 🙂 So far, I can’t reproduce this and it’s a strange error. Just to confirm, you go to Event Espresso -> Importer (In the add-ons section). Select an event and click next step and that’s when you get the error? |
|
Hi Tony, Yes, you described it correctly. The error comes up after I hit the “Next” button. If I may. I’d like to give a little more background info… We have a live site with an older version of EE (4.9.43.p). I’m hoping you could help us figure out a solution for this. Thanks in advance. |
|
Hmm, ok. Thank you for the additional information. Can you test something on you dev site for me? Just create a new event using the admin (not imported) with a single ticket and single DateTime. In the importer, select that new event, does it give the same error? |
|
I did what you suggested and got the same error (unfortunately). |
|
OK, just out of sheer curiosity, I decided to change the PHP version to PHP 7.1.30 (since that option was available on our cPanel). Lo and behold, the error is gone and Importer add-on seems to be working as it should now. |
|
It would have been really strange for it to work tbh, but would have been something I could use to reproduce so was worth a shot. The error your getting basically means that something is trying to load with the same name/alias as something else that has already loaded. Problem is the code looks fine and I’ve tested PHP5.6 and 7.1-3 with no issues. What I would do next is test this with only Event Espresso core and the Importer add-on enabled. You can do this with Troubleshooting mode (Tools -> Site Health -> Troubleshooting -> Enable Troubleshooting Mode) which will switch to a default theme and disable all plugins for the current admin. You then the admin bar -> Troubleshooting Mode -> Manage active plugins. Active Event Espresso core and the Importer add-on and retest, does it work then? |
|
Hi Tony, Thank you for your suggestion. I may have to table that test for another time since I’m a very tight deadline. For now, I’m just glad it is working as it should – which will allow us to replicate all the Events data from the old site to the new one. I do hope that you guys can come up with an add-on that can do a straightforward “cloning” of an existing EE installation to a new redesigned website (like in our case). That would really be a time saver and I think many of your current users could use it too. Once again, thank you for your help – appreciate your time and trouble. Best. |
|
No problem. Something to note whilst you are working on this is PHP7.1 is almost EOL: https://www.php.net/supported-versions.php So I’d recommend updating to PHP7.3 if possible. |
|
Thank you for that last bit of advice, Tony. |
|
The support post ‘Importer add-on error – need help please’ 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.