Send PDF for Contact Form 7 1.0.2.4

Does Send PDF for Contact Form 7 work with WordPress 6.6.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: 45.91 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.6.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=8c626bd519
Aspect after-activation
HTTP status 200
Load time 0.270 s
Memory usage 4.09 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.197 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.327 s0.282 s-0.045 s3.47 MiB3.51 MiB+ 32.91 KiB
/wp-admin/edit.php0.212 s0.179 s-0.033 s3.54 MiB3.57 MiB+ 33.24 KiB
/wp-admin/post-new.php0.715 s0.564 s-0.151 s5.75 MiB5.79 MiB+ 38.01 KiB
/wp-admin/upload.php0.529 s0.405 s-0.124 s3.49 MiB3.5 MiB+ 15.84 KiB
/wp-admin/options-writing.php0.362 s0.179 s-0.183 s3.41 MiB3.49 MiB+ 78.64 KiB
/wp-admin/media-new.php0.238 s0.427 s+0.189 s3.4 MiB3.49 MiB+ 92.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.178 s+0.004 s3.47 MiB3.51 MiB+ 38.7 KiB
/wp-admin/post-new.php?post_type=page0.579 s0.588 s+0.009 s5.75 MiB5.78 MiB+ 33.59 KiB
/wp-admin/options-discussion.php0.209 s0.247 s+0.038 s3.41 MiB3.49 MiB+ 80.33 KiB
/wp-admin/edit-comments.php0.231 s0.250 s+0.019 s3.49 MiB3.51 MiB+ 15.83 KiB
/0.301 s0.194 s-0.107 s3.45 MiB
Average 0.352 s0.318 s-0.035 s3.88 MiB3.96 MiB+ 45.91 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.5%3,1863239
CSS3.2%11203
JavaScript3.1%109123
JSON2.1%7401
Total 3,481 335 16

PHP Code Analysis | More results »

Lines of code 2,036
Total complexity 577
Median class complexity 114.5
Median method complexity 4.0
Most complex class cf7_sendpdf
Most complex function cf7_sendpdf::wpcf7pdf_mail_components()
Classes 4
Methods 48
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

[24-Jul-2024 08:49:55 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:1219
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(3081): 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 1219
[24-Jul-2024 08:50:03 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:1219
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(3081): 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 1219
See also: All tests for this plugin