wp-mpdf 3.8.3

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

Summary

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

Memory usage: 661.82 bytes
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.5.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=0417688a55
Aspect after-activation
HTTP status 200
Load time 0.305 s
Memory usage 3.39 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.167 s
Memory usage 3.73 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.201 s
Memory usage 3.37 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.619 s
Memory usage 5.61 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.619 s
Memory usage 5.6 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.371 s0.325 s-0.046 s3.43 MiB3.45 MiB+ 13.16 KiB
/wp-admin/edit.php0.222 s0.212 s-0.010 s3.46 MiB3.47 MiB+ 12.8 KiB
/wp-admin/post-new.php0.960 s0.617 s-0.343 s5.59 MiB5.61 MiB+ 16.3 KiB
/wp-admin/upload.php0.582 s0.454 s-0.128 s3.38 MiB3.38 MiB- 3.85 KiB
/wp-admin/options-writing.php0.226 s0.170 s-0.056 s3.37 MiB3.36 MiB- 11.89 KiB
/wp-admin/media-new.php0.296 s0.201 s-0.095 s3.35 MiB3.36 MiB+ 8.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.199 s-0.010 s3.37 MiB3.38 MiB+ 13.51 KiB
/wp-admin/post-new.php?post_type=page0.556 s0.598 s+0.042 s5.58 MiB5.6 MiB+ 11.89 KiB
/wp-admin/options-discussion.php0.326 s0.243 s-0.083 s3.36 MiB3.35 MiB- 3.36 KiB
/wp-admin/edit-comments.php0.255 s0.199 s-0.056 s3.39 MiB3.39 MiB- 3.86 KiB
/0.318 s0.189 s-0.129 s3.42 MiB3.37 MiB- 45.93 KiB
Average 0.393 s0.310 s-0.083 s3.79 MiB3.79 MiB+ 661.82 bytes

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
PHP76.9%1,90117711
CSS19.0%470462
Markdown2.8%7001
JSON1.3%3201
Total 2,473 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

[10-May-2024 03:35:12 UTC] PHP Warning:  Attempt to read property "general" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[10-May-2024 03:35:12 UTC] PHP Warning:  Attempt to read property "login" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[10-May-2024 03:35:12 UTC] PHP Warning:  Attempt to read property "pdfname" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
[10-May-2024 03:35:17 UTC] PHP Warning:  Attempt to read property "general" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[10-May-2024 03:35:17 UTC] PHP Warning:  Attempt to read property "login" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[10-May-2024 03:35:17 UTC] PHP Warning:  Attempt to read property "pdfname" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
[10-May-2024 03:35:21 UTC] PHP Warning:  Attempt to read property "general" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[10-May-2024 03:35:21 UTC] PHP Warning:  Attempt to read property "login" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[10-May-2024 03:35:21 UTC] PHP Warning:  Attempt to read property "pdfname" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
[10-May-2024 03:35:25 UTC] PHP Warning:  Attempt to read property "general" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[10-May-2024 03:35:25 UTC] PHP Warning:  Attempt to read property "login" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[10-May-2024 03:35:25 UTC] PHP Warning:  Attempt to read property "pdfname" on null 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