• Hi

    I’m currently working on a page that generates a PDF.
    I have a very weird behavior…

    If I remove basic text it works.
    If I add my text (around 200 characters), I have a blank page.

    I activated the Debug, I have the following issue :
    Notice: Undefined index: regular in /homepages/3/d468309272/htdocs/wp-content/plugins/gravity-forms-pdf-extended/src/Model/Model_PDF.php on line 1296

    Do you have any idea ? I need to display this text on my PDF… I’m currently stuck.

    Thank you for your help

    Olivier

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Hey Olivier,

    It sounds like there’s a corrupted custom font setting installed on your site. Try delete all your custom fonts (if any) in the Font Manager and view the PDF again.

    Thread Starter dolli666

    (@dolli666)

    Hi

    Sorry for answering so late.
    I took a look in the different on line tutorial to check my custom fonts.
    I don’t have any.

    And I’m still stuck on my issue.

    Could you please help ?

    Thank you

    Thread Starter dolli666

    (@dolli666)

    I just want to add that if I remove some text it works.
    I did not specify any specific font in my text, it’s just basic HTML, so I’m lost…
    I’ve check the memory allowed for my script, it is OK.
    Let me know if you need the code, the URL or any other thing that could help.

    Thank you

    Olivier

    Plugin Author Jake Jackson

    (@blue-liquid-designs)

    What’s the text you include that generates the error?

    Hello!
    This is the text:
    – Le présent document retrace notre dialogue et nos échanges préalables à votre décision de conclure un contrat d’assurance. Notre démarche et vos réponses à nos questions nous ont permis de préciser votre situation, identifier vos exigences et vos besoins et mettre en évidence l’adéquation de l’offre proposée à votre situation et à vos besoins.
    Vous reconnaissez avoir pris connaissance du contenu du présent document préalablement à la souscription du contrat d’assurance proposé, avoir re?u une information détaillée sur l’étendue, la définition des risques, les garanties proposées, ainsi que les franchises et exclusions.
    De même, vous reconnaissez également avoir re?u la fiche d’informations légales présentant le Cabinet ainsi que le document d’information standardisé IPID permettant la comparaison synthétique du contrat d’assurance proposé.

    Thank you for your help

    • This reply was modified 4 years, 6 months ago by celine0919.
    Plugin Author Jake Jackson

    (@blue-liquid-designs)

    Thanks for that. I added that text to a PDF using the core template Zadani in our development environment and couldn’t spot any issues in its display. If I could, I’d like to take a closer look at your Gravity Form. Please export your form (a .json file) and email it through to “support[at]gravitypdf[dot]com” (replacing [at] and [dot] with the appropriate characters).

    Thank you for your answer. I emailed the export.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Undefined index in Model_PDF.php’ is closed to new replies.