• Asuryan30

    (@asuryan30)


    Hi.

    Until now, everything was working very well but, I want to set-up my configuration php to send automatically my form in pdf.
    Now, I have that for each forms. It’s working but nothing is sent to me.

    $gf_pdf_config[] = array(
    	'form_id'        => 1,
    	'template'       => 'formulaire_inscription_secretariat.php' /* you need to set this to your custom template name */
    );

    So I followed instruction ang got this code

    $gf_pdf_config[] = array(
    	'form_id'        => 1,
    	'template'       => 'formulaire_inscription_secretariat.php' /* you need to set this to your custom template name */
    	'filename'       => 'incription patients.pdf',
    	'notification'   => true,
    );

    So now, I have an error 500 when I want to open my page. I still have access to my WordPress admin except if I try to go on “form”.

    if I take out these 2 ligne (filename) and (notifications), I have access to my page.

    do you have any idea about that ?

    I’m using theme forest X

    thx

    https://www.ads-software.com/plugins/gravity-forms-pdf/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Asuryan30

    (@asuryan30)

    Actually, if I add anything after ‘template’ like ‘pdf_size’ it create problem too …

    Thread Starter Asuryan30

    (@asuryan30)

    I’m with HostPapa PhP 5 active so I have DOM on it …

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when I set-up notification on configuration Php’ is closed to new replies.