Sending invitation mail for an event ends with error 500

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asebaste
    Member
    • Jun 2020
    • 53

    Sending invitation mail for an event ends with error 500

    Hi there, today I tried to send an invitation mail for an event. I got the error 500. I test the mail seetings as an administrator, it works.
    I run version 7.0.7.
    Before version 7.0.0 it works. Please find in the attachement the log file. There is something about mails, I think.

    Thank you for the support.

    Kind regards, Alessandro
    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi Alessandro,

    Could you attach custom/Espo/Custom/Resources/metadata/entityDefs/Meeting.json.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • asebaste
      Member
      • Jun 2020
      • 53

      #3
      Ther is no such file, I have Account, Call, Case, Contact and Opportunities.
      There is such a file in application\Espo\Modules\Crm\Resources\metadata\en tityDefs\Meeting.json

      Thank you
      Attached Files

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        Do you have the Invitation template customized? If yes, could you copy it here? Administration > Template Manager > Invitation :: Meeting.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • asebaste
          Member
          • Jun 2020
          • 53

          #5
          No, I didn't customized the invitation template. Here it is

          Einladung zu {{{eventType}}} '{{{name}}}'


          Betreff: {{name}}

          Beginn: {{#if isAllDay}}{{dateStartDate}}{{else}}{{dateStart}}{{/if}}

          {{#if isUser}} {{#if description}}

          {{{description}}}

          {{/if}} {{/if}}

          Annehmen, Decline, mit Vorbehalt

          {{#if isUser}}

          Eintrag öffnen

          {{/if}}

          Comment

          • yuri
            Member
            • Mar 2014
            • 8440

            #6
            I could not reproduce.
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            • yuri
              Member
              • Mar 2014
              • 8440

              #7
              Could you attach the whole "custom/Espo/Custom/Resources/metadata/entityDefs" directory zipped please?
              If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

              Comment

              • asebaste
                Member
                • Jun 2020
                • 53

                #8
                Hi, I'm back. Here is the complet content of the requested folder
                Attached Files

                Comment

                • yuri
                  Member
                  • Mar 2014
                  • 8440

                  #9
                  All data is fine there.

                  Do you have any 3rd party extensions installed?
                  If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                  Comment

                  • asebaste
                    Member
                    • Jun 2020
                    • 53

                    #10
                    No, there is no 3rd party extension installed.
                    I hope you have any other idea

                    Comment

                    • asebaste
                      Member
                      • Jun 2020
                      • 53

                      #11
                      I checked the mailadresses from those that should participate at the meeting, the mailadresses are ok.
                      I also send some mails by using campagne, that worked as well.
                      But sending an invitation for a event still end in error 500. What does this error code mean?

                      Comment

                      • yuri
                        Member
                        • Mar 2014
                        • 8440

                        #12
                        It looks to me that "orderBy" parameter for some entity in entityDefs is set to non-string non-null value.
                        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                        Comment

                        • asebaste
                          Member
                          • Jun 2020
                          • 53

                          #13
                          OK, what can I do to test this? Where can I change something?

                          Comment

                          • yuri
                            Member
                            • Mar 2014
                            • 8440

                            #14
                            Please, could you attach the file: data/cache/application/objMetadata.php.
                            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

                            Comment

                            • asebaste
                              Member
                              • Jun 2020
                              • 53

                              #15
                              Here it is
                              Attached Files

                              Comment

                              Working...