Send PDF for Contact Form 7 0.9.2

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

Summary

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

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

Page speed impact: 0.047 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.0
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=39553bfc35
Aspect after-activation
HTTP status 200
Load time 0.311 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.177 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.346 s0.402 s+0.056 s3.72 MiB3.74 MiB+ 21.38 KiB
/wp-admin/edit.php0.191 s0.289 s+0.098 s3.75 MiB3.77 MiB+ 20.67 KiB
/wp-admin/post-new.php0.791 s1.355 s+0.564 s5.53 MiB5.56 MiB+ 29.74 KiB
/wp-admin/upload.php0.389 s0.317 s-0.072 s3.68 MiB3.7 MiB+ 20.85 KiB
/wp-admin/options-writing.php0.318 s0.169 s-0.149 s3.61 MiB3.64 MiB+ 25.1 KiB
/wp-admin/media-new.php0.246 s0.199 s-0.047 s3.66 MiB3.68 MiB+ 21.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.182 s+0.001 s3.68 MiB3.71 MiB+ 21.93 KiB
/wp-admin/post-new.php?post_type=page0.617 s0.639 s+0.022 s5.53 MiB5.55 MiB+ 21.33 KiB
/wp-admin/options-discussion.php0.208 s0.309 s+0.101 s3.59 MiB3.61 MiB+ 21.65 KiB
/wp-admin/edit-comments.php0.220 s0.225 s+0.005 s3.69 MiB3.71 MiB+ 20.23 KiB
/0.262 s0.197 s-0.065 s3.55 MiB
Average 0.343 s0.389 s+0.047 s4 MiB4.07 MiB+ 22.39 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
PHP81.9%2,6931856
PO File12.4%4072601
JavaScript3.3%109123
CSS2.3%7502
JSON0.2%602
Total 3,290 457 14

PHP Code Analysis | More results »

Lines of code 1,413
Total complexity 446
Median class complexity 429.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 37 lines

[27-Jun-2022 12:59:29 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
[27-Jun-2022 12:59:29 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
[27-Jun-2022 12:59:30 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:1704
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 1704
[27-Jun-2022 12:59:31 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
[27-Jun-2022 12:59:31 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
[27-Jun-2022 12:59:31 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
[27-Jun-2022 12:59:34 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
[27-Jun-2022 12:59:34 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
[27-Jun-2022 12:59:35 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
[27-Jun-2022 12:59:35 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
[27-Jun-2022 12:59:35 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
[27-Jun-2022 12:59:37 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
[27-Jun-2022 12:59:37 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
[27-Jun-2022 12:59:38 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:1704
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 1704
[27-Jun-2022 12:59:38 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
[27-Jun-2022 12:59:38 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
[27-Jun-2022 12:59:38 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