wp-mpdf 3.8.2

Does wp-mpdf work with WordPress 6.4.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: 718.55 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.4.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=b395a67fe0
Aspect after-activation
HTTP status 200
Load time 0.467 s
Memory usage 3.33 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.194 s
Memory usage 3.68 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.212 s
Memory usage 3.31 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.629 s
Memory usage 5.48 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.597 s
Memory usage 5.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.392 s0.343 s-0.049 s3.38 MiB3.39 MiB+ 13.15 KiB
/wp-admin/edit.php0.222 s0.211 s-0.011 s3.41 MiB3.42 MiB+ 12.8 KiB
/wp-admin/post-new.php0.944 s0.635 s-0.309 s5.46 MiB5.48 MiB+ 16.3 KiB
/wp-admin/upload.php0.587 s0.558 s-0.029 s3.32 MiB3.32 MiB- 3.85 KiB
/wp-admin/options-writing.php0.258 s0.286 s+0.028 s3.32 MiB3.31 MiB- 11.27 KiB
/wp-admin/media-new.php0.336 s0.271 s-0.065 s3.3 MiB3.3 MiB+ 8.34 KiB
/wp-admin/edit-tags.php?taxonomy=category0.232 s0.211 s-0.021 s3.31 MiB3.33 MiB+ 13.51 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.630 s+0.025 s5.45 MiB5.46 MiB+ 11.89 KiB
/wp-admin/options-discussion.php0.410 s0.260 s-0.150 s3.3 MiB3.3 MiB- 3.36 KiB
/wp-admin/edit-comments.php0.270 s0.235 s-0.035 s3.34 MiB3.33 MiB- 3.87 KiB
/0.321 s0.361 s+0.040 s3.36 MiB3.31 MiB- 45.93 KiB
Average 0.416 s0.364 s-0.052 s3.72 MiB3.72 MiB+ 718.55 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
PHP77.2%1,90117711
CSS19.1%470462
Markdown2.8%6801
JSON1.0%2501
Total 2,464 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

[05-Feb-2024 21:52:39 UTC] PHP Warning:  Attempt to read property "general" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[05-Feb-2024 21:52:39 UTC] PHP Warning:  Attempt to read property "login" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[05-Feb-2024 21:52:39 UTC] PHP Warning:  Attempt to read property "pdfname" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
[05-Feb-2024 21:52:43 UTC] PHP Warning:  Attempt to read property "general" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[05-Feb-2024 21:52:43 UTC] PHP Warning:  Attempt to read property "login" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[05-Feb-2024 21:52:43 UTC] PHP Warning:  Attempt to read property "pdfname" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
[05-Feb-2024 21:52:47 UTC] PHP Warning:  Attempt to read property "general" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[05-Feb-2024 21:52:47 UTC] PHP Warning:  Attempt to read property "login" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[05-Feb-2024 21:52:47 UTC] PHP Warning:  Attempt to read property "pdfname" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 554
[05-Feb-2024 21:52:50 UTC] PHP Warning:  Attempt to read property "general" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 542
[05-Feb-2024 21:52:50 UTC] PHP Warning:  Attempt to read property "login" on null in /wp-content/plugins/wp-mpdf/wp-mpdf.php on line 548
[05-Feb-2024 21:52:50 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