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

Collapse
X
 
  • Time
  • Show
Clear All
new posts

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

    Leave a comment:


  • rodrigocoelho
    replied
    It's Working Yuri, thanks.

    Leave a comment:


  • WMEspo
    replied
    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.

    Leave a comment:


  • yuri
    replied
    Solution:

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

    Leave a comment:


  • WMEspo
    replied
    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

    Leave a comment:


  • yuri
    replied
    Actually, I could not reproduce it yet.

    Leave a comment:


  • tanya
    replied
    Hello,
    reproduced, will be fixed soon

    Leave a comment:


  • WMEspo
    replied
    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.

    Leave a comment:


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

    Leave a comment:


  • WMEspo
    replied
    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.

    Leave a comment:


  • rodrigocoelho
    replied
    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:	316
Size:	75.9 KB
ID:	44617


    Click image for larger version

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



    Click image for larger version

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

    Leave a comment:


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

    Leave a comment:


  • 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.
Working...