Send PDF for Contact Form 7 1.0.3.0

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

Summary

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

Memory usage: 28.43 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=e740e6eba6
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 4.13 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.150 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.325 s0.268 s-0.057 s3.51 MiB3.54 MiB+ 34.52 KiB
/wp-admin/edit.php0.195 s0.202 s+0.007 s3.57 MiB3.61 MiB+ 34.63 KiB
/wp-admin/post-new.php0.731 s0.694 s-0.037 s6.06 MiB6.1 MiB+ 38.39 KiB
/wp-admin/upload.php0.592 s0.598 s+0.006 s3.52 MiB3.54 MiB+ 17.23 KiB
/wp-admin/options-writing.php0.206 s0.195 s-0.011 s3.5 MiB3.52 MiB+ 21.22 KiB
/wp-admin/media-new.php0.261 s0.244 s-0.017 s3.49 MiB3.52 MiB+ 29.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.185 s+0.007 s3.5 MiB3.54 MiB+ 40.09 KiB
/wp-admin/post-new.php?post_type=page0.584 s1.110 s+0.526 s6.05 MiB6.08 MiB+ 33.91 KiB
/wp-admin/options-discussion.php0.424 s0.242 s-0.182 s3.5 MiB3.52 MiB+ 17.72 KiB
/wp-admin/edit-comments.php0.223 s0.202 s-0.021 s3.52 MiB3.54 MiB+ 17.22 KiB
/0.280 s0.186 s-0.094 s3.43 MiB
Average 0.364 s0.375 s+0.012 s3.97 MiB4.05 MiB+ 28.43 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
Language % Lines of code Comment lines Files
PHP92.1%3,72635810
CSS3.4%13704
JavaScript2.7%109123
JSON1.8%7401
Total 4,046 370 18

PHP Code Analysis | More results »

Lines of code 2,343
Total complexity 732
Median class complexity 156.0
Median method complexity 4.0
Most complex class cf7_sendpdf
Most complex function WPCF7PDF_prepare::tags_parser()
Classes 4
Methods 51
Functions 6

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 2

PHP Error Log 32 lines

[01-May-2025 09:05:21 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:1368
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3208): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 1368
[01-May-2025 09:05:29 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:1368
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3208): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(810): require_once('...')
#6 /wp-includes/template.php(745): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php(75): get_footer()
#9 /wp-includes/template-loader.php(106): include('...')
#10 /wp-blog-header.php(19): require_once('...')
#11 /index.php(17): require('...')
#12 {main}
  thrown in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 1368
See also: All tests for this plugin