Send PDF for Contact Form 7 1.0.1.9

Does Send PDF for Contact Form 7 work with WordPress 6.5.2 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.15 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.5.2
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=fdbca3bb81
Aspect after-activation
HTTP status 200
Load time 0.302 s
Memory usage 4.07 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.176 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.349 s0.323 s-0.026 s3.44 MiB3.47 MiB+ 32.59 KiB
/wp-admin/edit.php0.219 s0.201 s-0.018 s3.46 MiB3.49 MiB+ 32.25 KiB
/wp-admin/post-new.php0.955 s0.627 s-0.328 s5.59 MiB5.63 MiB+ 37.7 KiB
/wp-admin/upload.php0.584 s0.558 s-0.026 s3.38 MiB3.4 MiB+ 15.62 KiB
/wp-admin/options-writing.php0.245 s0.211 s-0.034 s3.37 MiB3.38 MiB+ 7.58 KiB
/wp-admin/media-new.php0.336 s0.265 s-0.071 s3.35 MiB3.38 MiB+ 27.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.230 s+0.026 s3.37 MiB3.4 MiB+ 32.98 KiB
/wp-admin/post-new.php?post_type=page0.569 s0.558 s-0.011 s5.59 MiB5.62 MiB+ 33.28 KiB
/wp-admin/options-discussion.php0.309 s0.347 s+0.038 s3.36 MiB3.37 MiB+ 16.11 KiB
/wp-admin/edit-comments.php0.292 s0.232 s-0.060 s3.39 MiB3.41 MiB+ 15.59 KiB
/0.321 s0.211 s-0.110 s3.42 MiB
Average 0.398 s0.342 s-0.056 s3.79 MiB3.85 MiB+ 25.15 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.3%3,1063099
CSS3.3%11203
JavaScript3.2%109123
JSON2.2%7401
Total 3,401 321 16

PHP Code Analysis | More results »

Lines of code 1,957
Total complexity 551
Median class complexity 111.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

[10-Apr-2024 20:15:34 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:1195
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(3066): 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 1195
[10-Apr-2024 20:15:44 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:1195
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(3066): 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 1195
See also: All tests for this plugin