restezconnectes / send-pdf-for-contact-form-7

Send the PDF for Contact Form 7 plugin will allow you to recover the data yourself via your form to insert them into a PDF built and prepared by you.
https://restezconnectes.fr/tutoriel-wordpress-lextension-send-pdf-for-contact-form-7/
GNU General Public License v3.0
15 stars 17 forks source link

Warning: fopen(1/document-pdf.csv) #50

Closed fischkopp82 closed 11 months ago

fischkopp82 commented 11 months ago

Hi, with the new version I get the following error message, when saving the settings. Warning: fopen(1/document-pdf.csv): Failed to open stream: No such file or directory in /is/htdocs/xxx/www/fdp2/wp-content/plugins/send-pdf-for-contact-form-7/classes/generate.php on line 287

Fatal error: Uncaught TypeError: fputcsv(): Argument #1 ($stream) must be of type resource, bool given in /is/htdocs/xxx/www/fdp2/wp-content/plugins/send-pdf-for-contact-form-7/classes/generate.php:292 Stack trace: #0 /is/htdocs/xxx/www/fdp2/wp-content/plugins/send-pdf-for-contact-form-7/classes/generate.php(292): fputcsv(false, Array, ',') #1 /is/htdocs/xxx/www/fdp2/wp-content/plugins/send-pdf-for-contact-form-7/views/send-pdf-admin.php(301): WPCF7PDF_generate::wpcf7pdf_create_csv('4519', 'document-pdf', '/is/htdocs/wp10...', 1) #2 /is/htdocs/xxx/www/fdp2/wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php(248): include('/is/htdocs/wp10...') #3 /is/htdocs/xxx/www/fdp2/wp-includes/class-wp-hook.php(324): cf7_sendpdf->wpcf7pdf_dashboard_html_page('') #4 /is/htdocs/xxx/www/fdp2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #5 /is/htdocs/xxx/www/fdp2/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /is/htdocs/xxx/www/fdp2/wp-admin/admin.php(259): do_action('formulare_page_...') #7 {main} thrown in /is/htdocs/xxx/www/fdp2/wp-content/plugins/send-pdf-for-contact-form-7/classes/generate.php on line 292

Any idea what's going wrong here? Thanks for your support.

Simon

fischkopp82 commented 11 months ago

1.0.4 solve the issue - thank you