Send PDF for Contact Form 7 1.0.3.1

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=2dc8471d0a
Aspect after-activation
HTTP status 200
Load time 0.313 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.158 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.335 s0.324 s-0.011 s3.51 MiB3.54 MiB+ 34.51 KiB
/wp-admin/edit.php0.192 s0.250 s+0.058 s3.57 MiB3.61 MiB+ 34.63 KiB
/wp-admin/post-new.php0.771 s0.624 s-0.147 s6.06 MiB6.1 MiB+ 38.39 KiB
/wp-admin/upload.php0.589 s0.613 s+0.024 s3.52 MiB3.54 MiB+ 17.23 KiB
/wp-admin/options-writing.php0.224 s0.199 s-0.025 s3.5 MiB3.52 MiB+ 21.22 KiB
/wp-admin/media-new.php0.273 s0.196 s-0.077 s3.49 MiB3.52 MiB+ 29.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.192 s+0.008 s3.5 MiB3.54 MiB+ 40.09 KiB
/wp-admin/post-new.php?post_type=page0.600 s0.614 s+0.014 s6.05 MiB6.08 MiB+ 33.91 KiB
/wp-admin/options-discussion.php0.310 s0.233 s-0.077 s3.5 MiB3.52 MiB+ 17.72 KiB
/wp-admin/edit-comments.php0.408 s0.209 s-0.199 s3.52 MiB3.54 MiB+ 17.22 KiB
/0.285 s0.189 s-0.096 s3.43 MiB
Average 0.379 s0.331 s-0.048 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,73336310
CSS3.4%13704
JavaScript2.7%109123
JSON1.8%7401
Total 4,053 375 18

PHP Code Analysis | More results »

Lines of code 2,351
Total complexity 746
Median class complexity 163.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

[05-May-2025 08:12:59 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:1369
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 1369
[05-May-2025 08:13:06 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:1369
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 1369
See also: All tests for this plugin