wp-mpdf 3.7

Does wp-mpdf work with WordPress 5.8.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
12PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 4.72 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.8.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000+
WordPress.org page https://wordpress.org/plugins/wp-mpdf/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=wp-mpdf%2Fwp-mpdf.php&plugin_status=all&paged=1&s&_wpnonce=0b450ff6f5
Aspect after-activation
HTTP status 200
Load time 0.406 s
Memory usage 3.05 MiB
JS errors None
Resource errors None

Settings → WP-MPDF

Page screenshot: Settings → WP-MPDF
URL /wp-admin/options-general.php?page=wp-mpdf
Aspect menu-item
HTTP status 200
Load time 0.138 s
Memory usage 3.39 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.180 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.571 s
Memory usage 5.28 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.626 s
Memory usage 5.27 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.241 s-0.041 s3.08 MiB3.09 MiB+ 11.06 KiB
/wp-admin/edit.php0.167 s0.178 s+0.011 s3.11 MiB3.12 MiB+ 11.43 KiB
/wp-admin/post-new.php0.694 s0.840 s+0.146 s5.27 MiB5.28 MiB+ 14.17 KiB
/wp-admin/upload.php0.350 s0.263 s-0.087 s3.03 MiB3.04 MiB+ 10.3 KiB
/wp-admin/options-writing.php0.137 s0.138 s+0.001 s3.02 MiB3.02 MiB- 5.73 KiB
/wp-admin/media-new.php0.475 s0.173 s-0.302 s3.01 MiB3.02 MiB+ 10.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.169 s+0.005 s3.04 MiB3.05 MiB+ 11.38 KiB
/wp-admin/post-new.php?post_type=page0.865 s0.645 s-0.220 s5.26 MiB5.27 MiB+ 9.76 KiB
/wp-admin/options-discussion.php0.280 s0.298 s+0.018 s3 MiB3.01 MiB+ 10.78 KiB
/wp-admin/edit-comments.php0.196 s0.202 s+0.006 s3.04 MiB3.05 MiB+ 10.28 KiB
/0.243 s0.208 s-0.035 s2.96 MiB2.92 MiB- 41.93 KiB
Average 0.350 s0.305 s-0.045 s3.44 MiB3.44 MiB+ 4.72 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
CSS
Language % Lines of code Comment lines Files
PHP77.5%1,90117711
CSS19.2%470462
Markdown2.4%5901
JSON1.0%2401
Total 2,454 223 15

PHP Code Analysis | More results »

Lines of code 1,387
Total complexity 316
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function mpdf_output()
Classes 0
Methods 0
Functions 49

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 10

Meta Boxes

{
    "post": {
        "mpdf_admin": {
            "title": "wp-mpdf",
            "context": "normal"
        }
    },
    "page": {
        "mpdf_admin": {
            "title": "wp-mpdf",
            "context": "normal"
        }
    }
}

PHP Error Log 12 lines

[11-Dec-2021 23:13:14 UTC] PHP Notice:  Trying to get property 'general' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[11-Dec-2021 23:13:14 UTC] PHP Notice:  Trying to get property 'login' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[11-Dec-2021 23:13:14 UTC] PHP Notice:  Trying to get property 'pdfname' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
[11-Dec-2021 23:13:16 UTC] PHP Notice:  Trying to get property 'general' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[11-Dec-2021 23:13:16 UTC] PHP Notice:  Trying to get property 'login' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[11-Dec-2021 23:13:16 UTC] PHP Notice:  Trying to get property 'pdfname' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
[11-Dec-2021 23:13:19 UTC] PHP Notice:  Trying to get property 'general' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[11-Dec-2021 23:13:19 UTC] PHP Notice:  Trying to get property 'login' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[11-Dec-2021 23:13:19 UTC] PHP Notice:  Trying to get property 'pdfname' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
[11-Dec-2021 23:13:20 UTC] PHP Notice:  Trying to get property 'general' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[11-Dec-2021 23:13:20 UTC] PHP Notice:  Trying to get property 'login' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[11-Dec-2021 23:13:20 UTC] PHP Notice:  Trying to get property 'pdfname' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
See also: All tests for this plugin, How to Hide wp-mpdf Admin Menus and Meta Boxes