Announcement

Collapse
No announcement yet.

Error 500: '' must be string or resource when send email as html

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 500: '' must be string or resource when send email as html

    Hi,

    I cannot send email as html with Error 500: '' must be string or resource
    Please support
    Attached Files

  • #2
    What to provide in a bug report: It may be helpful to know if there are any errors logged: in the Espo log in data/logs directory; in the web server error log; in the browser console (F12 key). Provide steps for reproducing the issue explicitly. Provide the EspoCRM version number. If your version is not the latest, it

    Comment


    • #3
      My espo version is 5.5.5
      And here is some logs
      Attached Files

      Comment


      • #4
        Version 5? I don't think anyone will be able to assist you

        What has change that cause you to have this error? Any recent modification, update, extension, field, entity?

        Did you install v5 by mistake or you been a long time user and never update?

        Comment


        • #5

          What has change that cause you to have this error? Any recent modification, update, extension, field, entity?

          - There's no change

          Did you install v5 by mistake or you been a long time user and never update?

          This is a long time user and never update.

          Comment


          • esforim
            esforim commented
            Editing a comment
            Then I guess you need to fully provide those missing information as request by Yuri, maybe he know how to help.

            I can see you partially give information but it not good enough if you want his help. For example you didn't say what version of PHP you using.

            PS: I'm just a user like you. Yuri is the developer and he know he stuff.

        • #6
          I'm using PHP 7.2 and MariaDB 10.1.34

          Comment


          • #7
            [2022-11-01 04:02:50] Espo.ERROR: API [POST]:/:controller, Params:Array ( [controller] => Email ) , InputData: {"status":"Sending","isRead":true,"isImportant" :fa lse,"inTrash":false,"folderId":false,"isUsers":fal se,"isHtml":true,"isSystem":false,"isJustSent":fa l se,"assignedUsersIds":["5ccfea73db2329f78"],"assignedUsersNames":{"5ccfea73db2329f78":"Lil y"} ,"teamsIds":["5a4a552e5debc8ed6"],"teamsNames":{"5a4a552e5debc8ed6":"Inbound"}," bod y":"<p>test</p><br><p class="MsoNormal" style="margin-bottom:7.15pt;line-height:normal"><span style="font-family:&quot;Palatino Linotype&quot;,&quot;serif&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;\nmso-bidi-font-family:Arial;color:#002060">Best regards,</span><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;\ncolor:#222222"><o></o></span></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:\nnormal"><b><span style="font-family:&quot;Palatino Linotype&quot;,&quot;serif&quot;;mso-fareast-font-family:\n&quot;Times New Roman&quot;;mso-bidi-font-family:Arial;color:#BC5610">LILY NGUYEN\n(MS.)/TRAVEL CONSULTANT</span></b><br></p><p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:\nnormal"><!--[if mso & !supportInlineShapes & supportFields]><span\nstyle='mso-element:field-begin;mso-field-lock:yes'></span><span\nstyle='mso-spacerun:yes'> </span>SHAPE <span\nstyle='mso-spacerun:yes'> </span>\\* MERGEFORMAT <span style='mso-element:field-separator'></span><![endif]--><!--[if gte vml 1]><v:rect\n id="Rectangle_x0020_1" o:spid="_x0000_s1026" alt="http://tsacrm.com/?entryPoint=attachment&amp;id=5e26b79609b3166cf"\ n style='width:24pt;height:24pt;visibility:visible;m so-wrap-style:square;\n mso-left-percent:-10001;mso-top-percent:-10001;mso-position-horizontal:absolute;\n mso-position-horizontal-relative:char;mso-position-vertical:absolute;\n mso-position-vertical-relative:line;mso-left-percent:-10001;mso-top-percent:-10001;\n v-text-anchor:top' o:gfxdata="UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAA AAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF\ndyTewfKKEq cMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ\ngV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI\n+gs6VLd Vdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2 Knae/OLUsyEkjenmdzb\nmG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlV V4WPeM6tK3V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uDdi03 vkBBNZTVpYaYskSuq7UY3Wd8AAAFpEiSxJPzFE/R\nBGqyiygZc+LtkzCCwktRwgSIK7XKoFKH/+rX0Fc6ImgLI0Nb+QWeiBWR8scTE05S2fE/Aau+AXn9\n4qfXL555Jw+fnzz89eTRo5OHv2SGLK09lISm1qsf vvznyWfe38++f/X4azdemPg/fv7899++cgNh\nposQvPzm6Z/Pn7789ou/fnzsgO9wNDbhIxJj4d3Ax95tFsPEdAhsz/GYv5nGKELE1NhJQoESpEZx\n2O/LyELfmCOKHLhdbEfwLgeKcQGvze5bDg8jPpPEYfF6FFvAA8boL uPOKFxXYxlhHs2S0D04n5m4\n2wgducbuosTKb3+WArcSl8luh C03b1GUSBTiBEtPPWOHGDtmd48QK64HZMKZYFPp3S... [] []
            [2022-11-01 04:02:50] Espo.ERROR: Display Error: '' must be string or resource, Code: 500 URL: /api/v1/Email [] []​

            And this is error log

            Comment


            • #8
              Hi, pls advise

              Comment

              Working...
              X