Announcement

Collapse
No announcement yet.

Error when sending a report via email (GRID). Htmlizer.php

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

  • Error when sending a report via email (GRID). Htmlizer.php

    Espo.ERROR: Uncaught Exception Error: "Function name must be a string" at /var/www/html/espocrm/application/Espo/Core/Htmlizer/Htmlizer.php line 327 {"exception":"[object] (Error(code: 0): Function name must be a string at /var/www/html/espocrm/application/Espo/Core/Htmlizer/Htmlizer.php:327)"} []

    EspoCRM 5.5.3
    Last edited by rodrigocoelho; 01-03-2019, 07:27 PM.

  • #2
    Hello,
    I can't reproduce it on the demo.
    What is the version of Advanced Pack and how to create me the same report?

    Comment


    • #3
      Advanced package 1.33.4 (updated today), with the same problem.

      The report capture are below.
      Click image for larger version

Name:	Capturar.JPG
Views:	129
Size:	75.9 KB
ID:	44617


      Click image for larger version

Name:	Capturar.JPG
Views:	128
Size:	73.3 KB
ID:	44618



      Click image for larger version

Name:	Capturar.JPG
Views:	127
Size:	64.3 KB
ID:	44619

      Comment


      • #4
        I am having this exact same issue on two different versions of Espo, but Advanced Pack 1.32.15

        All emails work BUT the reports. At the top of the screen it shows Error 500. Any report does this. Nothing in the logs even in DEBUG mode.

        Comment


        • #5
          I reported it on support. Maybe solving the problem for me will solve yours too.

          Comment


          • #6
            Yes and unfortunately as of right now emailing reports is the ONLY email function I need to work, we might utilize email more later on.

            Comment


            • #7
              Hello,
              reproduced, will be fixed soon

              Comment


              • #8
                Actually, I could not reproduce it yet.

                Comment


                • #9
                  My error is slightly different. Nothing in Espo logs, but in Developer Console I do get this:

                  VM35:1 POST http://crm/api/v1/Report/action/getEmailAttributes 500 (Internal Server Error)
                  (anonymous) @ VM35:1
                  send @ espo.min.js?r=1547281562:4
                  ajax @ espo.min.js?r=1547281562:4
                  ajaxRequest @ VM50:196
                  ajaxPostRequest @ VM50:213
                  actionSendInEmail @ VM480:133
                  click [data-action="sendInEmail"] @ VM480:41
                  dispatch @ espo.min.js?r=1547281562:3
                  r.handle @ espo.min.js?r=1547281562:3

                  Comment


                  • #10
                    Solution:

                    1. Install advanced pack 1.33.6 or greater.
                    2. Administration > Template Manager > Report (Grid 1, Grid 2, List) > Rest to Default.

                    Comment


                    • #11
                      This might be a dumb question, but where do you download a newer version of Advanced Pack, our year subscription should still be active?

                      Thanks.

                      Edit: Nevermind I found our support portal login.
                      Last edited by WMEspo; 01-17-2019, 04:49 PM.

                      Comment


                      • #12
                        It's Working Yuri, thanks.

                        Comment


                        • #13
                          For anyone else looking through this thread, my issue was an outdated version of PHP.

                          Comment

                          Working...
                          X