Send PDF for Contact Form 7 1.0.1.7

Does Send PDF for Contact Form 7 work with WordPress 6.4.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: 25.09 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.4.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=2afdfba779
Aspect after-activation
HTTP status 200
Load time 0.482 s
Memory usage 3.95 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.258 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.560 s0.362 s-0.198 s3.38 MiB3.41 MiB+ 32.48 KiB
/wp-admin/edit.php0.265 s0.231 s-0.034 s3.41 MiB3.44 MiB+ 32.13 KiB
/wp-admin/post-new.php1.045 s1.107 s+0.062 s5.46 MiB5.49 MiB+ 37.58 KiB
/wp-admin/upload.php0.714 s0.489 s-0.225 s3.32 MiB3.34 MiB+ 15.5 KiB
/wp-admin/options-writing.php0.230 s0.332 s+0.102 s3.32 MiB3.32 MiB+ 8.09 KiB
/wp-admin/media-new.php0.315 s0.324 s+0.009 s3.29 MiB3.32 MiB+ 27.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.200 s-0.017 s3.31 MiB3.34 MiB+ 32.86 KiB
/wp-admin/post-new.php?post_type=page1.065 s0.728 s-0.337 s5.45 MiB5.48 MiB+ 33.16 KiB
/wp-admin/options-discussion.php0.342 s0.282 s-0.060 s3.3 MiB3.32 MiB+ 15.99 KiB
/wp-admin/edit-comments.php0.265 s0.222 s-0.043 s3.34 MiB3.35 MiB+ 15.47 KiB
/0.295 s0.240 s-0.055 s3.36 MiB
Average 0.483 s0.411 s-0.072 s3.72 MiB3.78 MiB+ 25.09 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
PHP91.2%3,0412989
CSS3.4%11203
JavaScript3.3%109123
JSON2.2%7401
Total 3,336 310 16

PHP Code Analysis | More results »

Lines of code 1,901
Total complexity 533
Median class complexity 104.5
Median method complexity 4.0
Most complex class cf7_sendpdf
Most complex function cf7_sendpdf::wpcf7pdf_mail_components()
Classes 4
Methods 44
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 2

PHP Error Log 32 lines

[02-Dec-2023 09:59:58 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:1207
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(3068): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(790): require_once('...')
#6 /wp-includes/template.php(725): 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 1207
[02-Dec-2023 10:00:08 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:1207
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(3068): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(790): require_once('...')
#6 /wp-includes/template.php(725): 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 1207
See also: All tests for this plugin