Send PDF for Contact Form 7 0.8.4

Does Send PDF for Contact Form 7 work with WordPress 5.7 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: 23.7 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 version5.7
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=f9030aeacf
Aspect after-activation
HTTP status 200
Load time 0.479 s
Memory usage 3.72 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.188 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.266 s0.255 s-0.011 s2.82 MiB2.84 MiB+ 24.96 KiB
/wp-admin/edit.php0.174 s0.188 s+0.014 s2.86 MiB2.89 MiB+ 24.96 KiB
/wp-admin/post-new.php0.888 s0.946 s+0.058 s5.02 MiB5.06 MiB+ 37.63 KiB
/wp-admin/upload.php0.488 s0.271 s-0.217 s2.7 MiB2.72 MiB+ 24.47 KiB
/wp-admin/options-writing.php0.243 s0.155 s-0.088 s2.71 MiB2.7 MiB- 7.55 KiB
/wp-admin/media-new.php0.206 s0.156 s-0.050 s2.67 MiB2.7 MiB+ 24.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.182 s0.180 s-0.002 s2.77 MiB2.8 MiB+ 25.55 KiB
/wp-admin/post-new.php?post_type=page1.160 s1.038 s-0.122 s5.01 MiB5.04 MiB+ 33.22 KiB
/wp-admin/options-discussion.php0.282 s0.228 s-0.054 s2.67 MiB2.7 MiB+ 25.27 KiB
/wp-admin/edit-comments.php0.228 s0.209 s-0.019 s2.78 MiB2.8 MiB+ 23.85 KiB
/0.237 s0.238 s+0.001 s2.71 MiB
Average 0.396 s0.351 s-0.045 s3.16 MiB3.22 MiB+ 23.7 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
PHP81.0%2,3071896
PO File12.6%3592311
JavaScript3.7%106123
CSS2.6%7502
JSON0.0%101
Total 2,848 432 13

PHP Code Analysis | More results »

Lines of code 1,187
Total complexity 376
Median class complexity 361.0
Median method complexity 4.0
Most complex class cf7_sendpdf
Most complex function cf7_sendpdf::wpcf7pdf_send_pdf()
Classes 1
Methods 28
Functions 3

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

PHP Error Log 37 lines

[10-Mar-2021 10:22:35 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
[10-Mar-2021 10:22:36 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
[10-Mar-2021 10:22:36 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:1447
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3025): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(730): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(676): 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 1447
[10-Mar-2021 10:22:37 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
[10-Mar-2021 10:22:37 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
[10-Mar-2021 10:22:37 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
[10-Mar-2021 10:22:39 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
[10-Mar-2021 10:22:40 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
[10-Mar-2021 10:22:40 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
[10-Mar-2021 10:22:40 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
[10-Mar-2021 10:22:40 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
[10-Mar-2021 10:22:42 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
[10-Mar-2021 10:22:42 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
[10-Mar-2021 10:22:43 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:1447
Stack trace:
#0 /wp-includes/class-wp-hook.php(292): cf7_sendpdf->wpcf7_add_footer()
#1 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(484): WP_Hook->do_action()
#3 /wp-includes/general-template.php(3025): do_action()
#4 /wp-content/themes/twentyseventeen/footer.php(48): wp_footer()
#5 /wp-includes/template.php(730): require_once('/opt/bitnami/ap...')
#6 /wp-includes/template.php(676): 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 1447
[10-Mar-2021 10:22:43 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
[10-Mar-2021 10:22:43 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
[10-Mar-2021 10:22:43 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