wp-mpdf 3.6.1

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: 0.065 seconds
The average page load time increased by this amount after activating the plugin.

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=93d654a6b7
Aspect after-activation
HTTP status 200
Load time 0.468 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.266 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.231 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 1.038 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 1.055 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.340 s0.418 s+0.078 s3.08 MiB3.09 MiB+ 11.06 KiB
/wp-admin/edit.php0.175 s0.222 s+0.047 s3.11 MiB3.12 MiB+ 11.43 KiB
/wp-admin/post-new.php0.912 s1.273 s+0.361 s5.27 MiB5.28 MiB+ 14.17 KiB
/wp-admin/upload.php0.414 s0.509 s+0.095 s3.03 MiB3.04 MiB+ 10.3 KiB
/wp-admin/options-writing.php0.145 s0.162 s+0.017 s3.02 MiB3.02 MiB- 5.73 KiB
/wp-admin/media-new.php0.439 s0.217 s-0.222 s3.01 MiB3.02 MiB+ 10.47 KiB
/wp-admin/edit-tags.php?taxonomy=category0.179 s0.203 s+0.024 s3.04 MiB3.05 MiB+ 11.38 KiB
/wp-admin/post-new.php?post_type=page0.885 s1.219 s+0.334 s5.26 MiB5.27 MiB+ 9.76 KiB
/wp-admin/options-discussion.php0.226 s0.263 s+0.037 s3 MiB3.01 MiB+ 10.78 KiB
/wp-admin/edit-comments.php0.225 s0.260 s+0.035 s3.04 MiB3.05 MiB+ 10.28 KiB
/0.307 s0.221 s-0.086 s2.96 MiB2.92 MiB- 41.93 KiB
Average 0.386 s0.452 s+0.065 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
Language % Lines of code Comment lines Files
PHP99.2%141,81822,672375
CSS0.7%931685
Markdown0.1%8902
JSON0.0%4001
YAML0.0%1601
XML0.0%1601
Total 142,910 22,740 385

PHP Code Analysis | More results »

Lines of code 66,862
Total complexity 19,436
Median class complexity 136.0
Median method complexity 5.0
Most complex class mPDF
Most complex function Tag::OpenTag()
Classes 28
Methods 853
Functions 88

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

[12-Nov-2021 22:13:13 UTC] PHP Notice:  Trying to get property 'general' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 527
[12-Nov-2021 22:13:13 UTC] PHP Notice:  Trying to get property 'login' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 533
[12-Nov-2021 22:13:13 UTC] PHP Notice:  Trying to get property 'pdfname' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 539
[12-Nov-2021 22:13:17 UTC] PHP Notice:  Trying to get property 'general' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 527
[12-Nov-2021 22:13:17 UTC] PHP Notice:  Trying to get property 'login' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 533
[12-Nov-2021 22:13:17 UTC] PHP Notice:  Trying to get property 'pdfname' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 539
[12-Nov-2021 22:13:20 UTC] PHP Notice:  Trying to get property 'general' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 527
[12-Nov-2021 22:13:20 UTC] PHP Notice:  Trying to get property 'login' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 533
[12-Nov-2021 22:13:20 UTC] PHP Notice:  Trying to get property 'pdfname' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 539
[12-Nov-2021 22:13:22 UTC] PHP Notice:  Trying to get property 'general' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 527
[12-Nov-2021 22:13:22 UTC] PHP Notice:  Trying to get property 'login' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 533
[12-Nov-2021 22:13:22 UTC] PHP Notice:  Trying to get property 'pdfname' of non-object in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 539
See also: All tests for this plugin, How to Hide wp-mpdf Admin Menus and Meta Boxes