Print to PDF show blank page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • edward7097
    Member
    • Sep 2015
    • 55

    Print to PDF show blank page

    After upgrade to V7, the print to PDF show blank page and I check the logs it shows this error. The PHP version is 7.4

    ERROR: Uncaught Exception Error: "Call to a member function getLength() on string" at /home/xxx/public_html/application/Espo/EntryPoints/Pdf.php line 90 {"exception":"[object] (Error(code: 0): Call to a member function getLength() on string at /home/xxx/public_html/application/Espo/EntryPoints/Pdf.php:90)"} []
  • Vadym
    Super Moderator
    • Jun 2021
    • 345

    #2
    Hi Edward,

    Can you provide a PDF template?

    Comment

    • edward7097
      Member
      • Sep 2015
      • 55

      #3
      Originally posted by Vadym
      Hi Edward,

      Can you provide a PDF template?
      I create new template still show blank page
      Attached Files

      Comment

      • item
        Active Community Member
        • Mar 2017
        • 1476

        #4
        upgrade to last, actually : 7.0.7
        check ACL (Role)
        check with a downloaded 7.0.7 folder : Espo\Tools\Pdf\...
        replace-it if required
        witch exacly php version ? 7.4.x ?
        permission issue maybe ? check in config.php : permission->user/group
        If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

        Comment

        • edward7097
          Member
          • Sep 2015
          • 55

          #5
          Originally posted by item
          upgrade to last, actually : 7.0.7
          check ACL (Role)
          check with a downloaded 7.0.7 folder : Espo\Tools\Pdf\...
          replace-it if required
          witch exacly php version ? 7.4.x ?
          permission issue maybe ? check in config.php : permission->user/group
          1. already latest version.
          2. ACL role never changed as before upgrade print to PDF was worked well.
          3. PHP 7.4.24
          4. permission no issue.

          Comment

          • guschaves
            Junior Member
            • Apr 2017
            • 13

            #6
            I'm having the same issue here, have u fixed it?

            Comment

            • Vadym
              Super Moderator
              • Jun 2021
              • 345

              #7
              Hi guschaves,

              This issue is related to cPanel / EasyApache configuration. Try to set default settings or contact your hosting if you don't use them.

              Comment

              • guschaves
                Junior Member
                • Apr 2017
                • 13

                #8
                I've done everything you suggested me, but no success. Any idea? Which screenshots would help you to identify how to fix it?

                Comment

                • Johndavidson9
                  Junior Member
                  • Jan 2022
                  • 1

                  #9
                  I have the same issue. Any tips for solution? https://cartoonhd.onl/index/ https://get-9apps.com
                  Last edited by Johndavidson9; 01-19-2022, 08:12 AM.

                  Comment

                  Working...