Send PDF for Contact Form 7 0.8.6

Does Send PDF for Contact Form 7 work with WordPress 5.8.1 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: 19.69 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 version5.8.1
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=4a5a944627
Aspect after-activation
HTTP status 200
Load time 0.596 s
Memory usage 4.02 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.260 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.326 s0.252 s-0.074 s3.08 MiB3.1 MiB+ 21.04 KiB
/wp-admin/edit.php0.178 s0.190 s+0.012 s3.11 MiB3.13 MiB+ 21.04 KiB
/wp-admin/post-new.php2.024 s1.075 s-0.949 s5.27 MiB5.29 MiB+ 25.4 KiB
/wp-admin/upload.php0.540 s0.296 s-0.244 s3.03 MiB3.05 MiB+ 20.51 KiB
/wp-admin/options-writing.php0.144 s0.127 s-0.017 s3.02 MiB3.03 MiB+ 4.48 KiB
/wp-admin/media-new.php0.228 s0.339 s+0.111 s3.01 MiB3.03 MiB+ 20.68 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.200 s+0.018 s3.04 MiB3.06 MiB+ 21.59 KiB
/wp-admin/post-new.php?post_type=page1.255 s0.886 s-0.369 s5.26 MiB5.28 MiB+ 20.98 KiB
/wp-admin/options-discussion.php0.306 s0.286 s-0.020 s3 MiB3.02 MiB+ 21.3 KiB
/wp-admin/edit-comments.php0.223 s0.282 s+0.059 s3.04 MiB3.06 MiB+ 19.89 KiB
/0.395 s0.228 s-0.167 s2.96 MiB
Average 0.527 s0.378 s-0.149 s3.44 MiB3.51 MiB+ 19.69 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.3%2,4001926
PO File12.4%3672481
JavaScript3.6%106123
CSS2.5%7502
JSON0.2%501
Total 2,953 452 13

PHP Code Analysis | More results »

Lines of code 1,230
Total complexity 398
Median class complexity 383.0
Median method complexity 4.0
Most complex class cf7_sendpdf
Most complex function cf7_sendpdf::wpcf7pdf_send_pdf()
Classes 1
Methods 29
Functions 3

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

[09-Sep-2021 19:02: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
[09-Sep-2021 19:02:32 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
[09-Sep-2021 19:02:32 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:1508
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(470): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3031): 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 1508
[09-Sep-2021 19:02:33 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
[09-Sep-2021 19:02:33 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
[09-Sep-2021 19:02:33 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
[09-Sep-2021 19:02: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
[09-Sep-2021 19:02:36 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
[09-Sep-2021 19:02:36 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
[09-Sep-2021 19:02:36 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
[09-Sep-2021 19:02:36 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
[09-Sep-2021 19:02: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
[09-Sep-2021 19:02: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
[09-Sep-2021 19:02:39 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:1508
Stack trace:
#0 /wp-includes/class-wp-hook.php(303): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(470): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3031): 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 1508
[09-Sep-2021 19:02:39 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
[09-Sep-2021 19:02:39 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
[09-Sep-2021 19:02:39 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