Events Import gives HTTP Error 500

Home Forums Calendar Products Events Calendar PRO Events Import gives HTTP Error 500

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1129749
    Pamela
    Participant

    I 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 500

    Debug 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 50

    Parse 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

    #1129755
    Pamela
    Participant

    This reply is private.

    #1129776
    Brook
    Participant

    This reply is private.

    #1129976
    Pamela
    Participant

    This reply is private.

    #1130082
    Brook
    Participant

    This reply is private.

    #1130131
    Pamela
    Participant

    This reply is private.

    #1130175
    Brook
    Participant

    Thank 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

    #1130321
    Pamela
    Participant

    Thanks Brook! That fixed the 500 error.

    Pam

    #1130322
    Brook
    Participant

    Perfect! 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

    #1136542
    Support Droid
    Keymaster

    This 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.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Events Import gives HTTP Error 500’ is closed to new replies.