Send PDF for Contact Form 7 0.9.9

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

Summary

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

Memory usage: 26.13 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=8823db5440
Aspect after-activation
HTTP status 200
Load time 0.327 s
Memory usage 4.54 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.215 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.310 s0.242 s-0.068 s3.54 MiB3.57 MiB+ 27.45 KiB
/wp-admin/edit.php0.180 s0.199 s+0.019 s3.57 MiB3.6 MiB+ 27.05 KiB
/wp-admin/post-new.php1.055 s1.638 s+0.583 s5.46 MiB5.49 MiB+ 32.12 KiB
/wp-admin/upload.php0.697 s0.274 s-0.423 s3.41 MiB3.43 MiB+ 27.23 KiB
/wp-admin/options-writing.php0.195 s0.147 s-0.048 s3.4 MiB3.41 MiB+ 9.7 KiB
/wp-admin/media-new.php0.247 s0.219 s-0.028 s3.39 MiB3.41 MiB+ 27.41 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.181 s-0.034 s3.48 MiB3.5 MiB+ 28.31 KiB
/wp-admin/post-new.php?post_type=page1.282 s0.898 s-0.384 s5.46 MiB5.48 MiB+ 27.67 KiB
/wp-admin/options-discussion.php0.209 s0.253 s+0.044 s3.38 MiB3.41 MiB+ 27.72 KiB
/wp-admin/edit-comments.php0.221 s0.206 s-0.015 s3.48 MiB3.51 MiB+ 26.62 KiB
/0.289 s0.220 s-0.069 s3.47 MiB
Average 0.445 s0.407 s-0.038 s3.82 MiB3.88 MiB+ 26.13 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
PO File
Language % Lines of code Comment lines Files
PHP82.2%2,8152026
PO File12.3%4202741
JavaScript3.2%109123
CSS2.2%7502
JSON0.1%501
Total 3,424 488 13

PHP Code Analysis | More results »

Lines of code 1,498
Total complexity 448
Median class complexity 431.0
Median method complexity 4.0
Most complex class cf7_sendpdf
Most complex function cf7_sendpdf::wpcf7pdf_send_pdf()
Classes 1
Methods 31
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 1

User Metadata wp_usermeta 1

PHP Error Log 37 lines

[16-Nov-2022 12:21:16 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:17 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:17 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:1817
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3059): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(783): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(718): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php( in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 1817
[16-Nov-2022 12:21:18 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:19 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:19 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:22 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:22 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:22 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:23 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:23 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:25 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:25 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:26 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:1817
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3059): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(783): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(718): load_template()
#7 /wp-includes/general-template.php(92): locate_template()
#8 /wp-content/themes/twentyseventeen/index.php( in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 1817
[16-Nov-2022 12:21:26 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:26 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
[16-Nov-2022 12:21:27 UTC] PHP Warning:  Use of undefined constant WPCF7_ADMIN_READ_CAPABILITY - assumed 'WPCF7_ADMIN_READ_CAPABILITY' (this will throw an Error in a future version of PHP) in /wp-content/plugins/send-pdf-for-contact-form-7/classes/send-pdf.php on line 281
See also: All tests for this plugin