Send PDF for Contact Form 7 0.9.7

Does Send PDF for Contact Form 7 work with WordPress 6.0.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
3PHP fatal errors
15PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 21.95 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/send-pdf-for-contact-form-7/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=send-pdf-for-contact-form-7%2Fwpcf7-send-pdf.php&plugin_status=all&paged=1&s&_wpnonce=7ebd694ad9
Aspect after-activation
HTTP status 200
Load time 0.435 s
Memory usage 4.61 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.269 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.563 s0.269 s-0.294 s3.72 MiB3.74 MiB+ 20.34 KiB
/wp-admin/edit.php0.188 s0.183 s-0.005 s3.76 MiB3.78 MiB+ 19.95 KiB
/wp-admin/post-new.php0.760 s0.893 s+0.133 s5.55 MiB5.58 MiB+ 29.02 KiB
/wp-admin/upload.php0.369 s0.286 s-0.083 s3.69 MiB3.71 MiB+ 20.13 KiB
/wp-admin/options-writing.php0.149 s0.161 s+0.012 s3.62 MiB3.65 MiB+ 27.7 KiB
/wp-admin/media-new.php0.412 s0.189 s-0.223 s3.66 MiB3.68 MiB+ 20.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.173 s-0.033 s3.69 MiB3.71 MiB+ 21.2 KiB
/wp-admin/post-new.php?post_type=page0.666 s0.715 s+0.049 s5.54 MiB5.56 MiB+ 20.6 KiB
/wp-admin/options-discussion.php0.247 s0.289 s+0.042 s3.6 MiB3.62 MiB+ 20.66 KiB
/wp-admin/edit-comments.php0.214 s0.212 s-0.002 s3.7 MiB3.72 MiB+ 19.56 KiB
/0.270 s0.189 s-0.081 s3.6 MiB
Average 0.368 s0.324 s-0.044 s4.01 MiB4.07 MiB+ 21.95 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
PO File
Language % Lines of code Comment lines Files
PHP82.3%2,7762026
PO File12.1%4072601
JavaScript3.2%109123
CSS2.2%7502
JSON0.1%501
Total 3,372 474 13

PHP Code Analysis | More results »

Lines of code 1,489
Total complexity 448
Median class complexity 431.0
Median method complexity 4.0
Most complex class cf7_sendpdf
Most complex function cf7_sendpdf::wpcf7pdf_send_pdf()
Classes 1
Methods 31
Functions 4

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 1

PHP Error Log 48 lines

[05-Sep-2022 15:43:55 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:43:56 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:43:56 UTC] PHP Fatal error:  Uncaught Error: Class 'WPCF7_ContactForm' not found in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php:1805
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3058): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(770): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(716): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php( in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 1805
[05-Sep-2022 15:43:57 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:43:57 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:43:58 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:00 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:00 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:00 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:00 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:01 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:02 UTC] PHP Fatal error:  Uncaught Error: Class 'WPCF7_ContactForm' not found in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php:1805
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3058): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(770): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(716): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/404.php(35 in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 1805
[05-Sep-2022 15:44:03 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:03 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:03 UTC] PHP Fatal error:  Uncaught Error: Class 'WPCF7_ContactForm' not found in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php:1805
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3058): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(770): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(716): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php( in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 1805
[05-Sep-2022 15:44:03 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:04 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[05-Sep-2022 15:44:04 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
See also: All tests for this plugin