Home › Forums › Calendar Products › Events Calendar PRO › Events Import gives HTTP Error 500
- This topic has 10 replies, 4 voices, and was last updated 9 years, 10 months ago by
Pamela.
-
AuthorPosts
-
June 21, 2016 at 6:40 am #1129749
Pamela
ParticipantI keep getting the same error message – HTTP Error 500 when I try to import a CSV file.
The website.org page isn’t working
website.org is currently unable to handle this request.
HTTP ERROR 500Debug gave the following…
Notice: Use of undefined constant dce_customizer_styles – assumed ‘dce_customizer_styles’ in ****s/engined/divi-children-engine/dce-customizer/dce-kirki/dce-kirki.php on line 50Parse error: syntax error, unexpected ‘[‘ in /home/asburych/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Importer/File_Importer_Events.php on line 309
June 21, 2016 at 6:48 am #1129755Pamela
ParticipantThis reply is private.
June 21, 2016 at 7:35 am #1129776Brook
ParticipantThis reply is private.
June 21, 2016 at 10:29 am #1129976Pamela
ParticipantThis reply is private.
June 21, 2016 at 2:29 pm #1130082Brook
ParticipantThis reply is private.
June 21, 2016 at 4:04 pm #1130131Pamela
ParticipantThis reply is private.
June 21, 2016 at 4:56 pm #1130175Brook
ParticipantThank you for sharing that Pamela. It would seem this might e related to the older version of PHP your server is running. But that’s okay, we still do our best to support PHP 5.3 even if PHP itself hasn’t supported it for years.
Do you feel comfortable modifying a line in one of the plugin files for me to see if it fixes this? If so open up the file: wp-content/plugins/the-events-calendar/src/Tribe/Importer/File_Importer_Events.php and scroll down to line 309. You should see:
$after_aliases = [ 'suffix', 'after' ];Could you replace that with:
$after_aliases = array( 'suffix', 'after' );With that in place try the import again. Does it work as expected, or still a 500 error?
Cheers!
– Brook
June 22, 2016 at 6:57 am #1130321Pamela
ParticipantThanks Brook! That fixed the 500 error.
Pam
June 22, 2016 at 7:05 am #1130322Brook
ParticipantPerfect! Thank you for getting back.
Typically when you directly modify you will have to remake that modification each time you update the plugin. However, we are likely going to have a fix for this in the next version, which is due for release later this week. So you probably will not have to worry about this again.
Either way I will leave this topic open until after you update, just in case.
Cheers!
– Brook
July 7, 2016 at 9:35 am #1136542Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Events Import gives HTTP Error 500’ is closed to new replies.
