Material Dashboard 1.0.3

Does Material Dashboard work with WordPress 6.3 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
74PHP fatal errors
21PHP deprecation warnings
13JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 428.79 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 version6.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 80+
WordPress.org page https://wordpress.org/plugins/material-dashboard/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 11

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=material-dashboard%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=d16be7599d
Aspect after-activation
HTTP status 200
Load time 0.529 s
Memory usage 3.21 MiB
JS errors None
Resource errors None

Dashboard

Page screenshot: Dashboard
URL /wp-admin/admin.php?page=material-dashboard
Aspect menu-item
HTTP status 200
Load time 1.155 s
Memory usage 3.49 MiB
JS errors
[
    {
        "message": "ReferenceError: amd_conf is not defined\n    at /wp-admin/admin.php?page=material-dashboard:254:369",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard → Settings

Page screenshot: Dashboard → Settings
URL /wp-admin/admin.php?page=amd-settings
Aspect menu-item
HTTP status 200
Load time 0.698 s
Memory usage 3.3 MiB
JS errors
[
    {
        "message": "ReferenceError: amd_conf is not defined\n    at /wp-admin/admin.php?page=amd-settings:258:27",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: _t is not defined\n    at /wp-admin/admin.php?page=amd-settings:1083:25\n    at /wp-admin/admin.php?page=amd-settings:1133:10",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard → Appearance

Page screenshot: Dashboard → Appearance
URL /wp-admin/admin.php?page=amd-appearance
Aspect menu-item
HTTP status 200
Load time 0.664 s
Memory usage 3.29 MiB
JS errors
[
    {
        "message": "ReferenceError: amd_conf is not defined\n    at /wp-admin/admin.php?page=amd-appearance:258:27",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: _t is not defined\n    at /wp-admin/admin.php?page=amd-appearance:437:27\n    at /wp-admin/admin.php?page=amd-appearance:473:6",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: _t is not defined\n    at /wp-admin/admin.php?page=amd-appearance:874:25\n    at /wp-admin/admin.php?page=amd-appearance:918:10",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard → Manage data

Page screenshot: Dashboard → Manage data
URL /wp-admin/admin.php?page=amd-data
Aspect menu-item
HTTP status 200
Load time 0.659 s
Memory usage 3.23 MiB
JS errors
[
    {
        "message": "ReferenceError: amd_conf is not defined\n    at /wp-admin/admin.php?page=amd-data:258:27",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: _t is not defined\n    at clear (/wp-admin/admin.php?page=amd-data:294:20)\n    at /wp-admin/admin.php?page=amd-data:297:9\n    at /wp-admin/admin.php?page=amd-data:439:6",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard → Security

Page screenshot: Dashboard → Security
URL /wp-admin/admin.php?page=amd-security
Aspect menu-item
HTTP status 200
Load time 0.530 s
Memory usage 3.21 MiB
JS errors
[
    {
        "message": "ReferenceError: amd_conf is not defined\n    at /wp-admin/admin.php?page=amd-security:258:27",
        "trace": null,
        "code": null
    },
    {
        "message": "ReferenceError: _t is not defined\n    at /wp-admin/admin.php?page=amd-security:405:25\n    at /wp-admin/admin.php?page=amd-security:456:10",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard → Wizard

Page screenshot: Dashboard → Wizard
URL /wp-admin/admin.php?page=amd-wizard
Aspect menu-item
HTTP status 200
Load time 0.311 s
Memory usage N/A
JS errors
[
    {
        "message": "ReferenceError: amd_conf is not defined\n    at /wp-admin/admin.php?page=amd-wizard:218:107",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard → Extensions

Page screenshot: Dashboard → Extensions
URL /wp-admin/admin.php?page=amd-ext
Aspect menu-item
HTTP status 200
Load time 0.551 s
Memory usage 3.22 MiB
JS errors
[
    {
        "message": "ReferenceError: amd_conf is not defined\n    at /wp-admin/admin.php?page=amd-ext:257:23",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard → Themes

Page screenshot: Dashboard → Themes
URL /wp-admin/admin.php?page=amd-themes
Aspect menu-item
HTTP status 200
Load time 0.520 s
Memory usage 3.22 MiB
JS errors
[
    {
        "message": "ReferenceError: amd_conf is not defined\n    at /wp-admin/admin.php?page=amd-themes:256:23",
        "trace": null,
        "code": null
    }
]
Resource errors None

Dashboard → More

Page screenshot: Dashboard → More
URL /wp-admin/admin.php?page=amd-more
Aspect menu-item
HTTP status 200
Load time 0.729 s
Memory usage 3.21 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.241 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.361 s0.210 s-0.151 s2.82 MiB
/wp-admin/edit.php0.208 s0.283 s+0.075 s2.85 MiB3.29 MiB+ 448.34 KiB
/wp-admin/post-new.php0.773 s1.018 s+0.245 s5.21 MiB5.64 MiB+ 439.73 KiB
/wp-admin/upload.php0.844 s0.460 s-0.384 s2.77 MiB3.17 MiB+ 413.16 KiB
/wp-admin/options-writing.php0.230 s0.291 s+0.061 s2.76 MiB3.18 MiB+ 427.13 KiB
/wp-admin/media-new.php0.311 s0.314 s+0.003 s2.74 MiB3.17 MiB+ 442.92 KiB
/wp-admin/edit-tags.php?taxonomy=category0.200 s0.282 s+0.082 s2.76 MiB3.2 MiB+ 451.91 KiB
/wp-admin/post-new.php?post_type=page0.695 s0.810 s+0.115 s5.21 MiB5.63 MiB+ 435.31 KiB
/wp-admin/options-discussion.php0.271 s0.364 s+0.093 s2.75 MiB3.18 MiB+ 438.05 KiB
/wp-admin/edit-comments.php0.427 s0.175 s-0.252 s2.78 MiB
/0.291 s0.203 s-0.088 s3.13 MiB3.48 MiB+ 362.58 KiB
Average 0.419 s0.401 s-0.018 s3.25 MiB3.77 MiB+ 428.79 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP55.0%16,7765,973104
JavaScript19.5%5,9498266
CSS18.8%5,7407410
PO File4.7%1,4266141
JSON1.7%532011
SVG0.2%4907
Markdown0.1%1702
Total 30,489 7,487 141

PHP Code Analysis | More results »

Lines of code 8,882
Total complexity 1,699
Median class complexity 54.0
Median method complexity 2.0
Most complex class AMD_DB
Most complex function jdate()
Classes 15
Methods 272
Functions 233

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.

No new entries found.

PHP Error Log 1490 lines

[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 2087
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:27 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/material-dashboard/functions.php on line 1846
[21-Aug-2023 15:44:28 UTC] PHP Fatal error:  Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, WP_Comment given in /wp-includes/class-wp-user.php:211
Stack trace:
#0 /wp-includes/class-wp-user.php(211): trim()
#1 /wp-includes/pluggable.php(102): WP_User::get_data_by()
#2 /wp-content/plugins/material-dashboard/ext/_app/index.php(982): get_user_by()
#3 /wp-includes/class-wp-hook.php(312): AMDLoader->{closure}()
#4 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#5 /wp-includes/pluggable.php(2985): apply_filters()
#6 /wp-admin/includes/dashboard.php(843): get_avatar()
#7 /wp-admin/includes/dashboard.php(1106): _wp_dashboard_recent_comments_row()
#8 /wp-admin/includes/dashboard.php(952): wp_dashboard_recent_comments()
#9 /wp-admin/includes/template.php(1443): wp_dashboard_site_activity()
#10 /wp-admin/includes/dashboard.php(271): do_meta_boxes()
#11 /wp-admin/index.php(203): wp_dashboard()
#12 {main}
  thrown in /wp-includes/class-wp-user.php on line 211
[21-Aug-2023 15:44:29 UTC] PHP Deprecated:  openssl_decrypt(): Passing null to parameter #1 ($data) of type string is deprecated in /wp-content/plugins/material-dashboard/core/AMDFirewall/AMDFirewall.php on line 421
[21-Aug-2023 15:44:29 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "ADP_ASSETS_PATH" in /wp-content/plugins/material-dashboard/functions.php:15
Stack trace:
#0 /wp-includes/class-wp-hook.php(310): adp_register_avatars()
#1 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-content/plugins/material-dashboard/api/index.php(40): do_action()
#4 /wp-content/plugins/material-dashboard/functions.php(2074): require_once('...')
#5 /wp-content/plugins/material-dashboard/core/AMDCore/AMDCore.php(1101): amd_load_api()
#6 /wp-includes/shortcodes.php(395): AMDCore->{closure}()
#7 [internal function]: do_shortcode_tag()
#8 /wp-includes/shortcodes.php(235): preg_replace_callback()
#9 /wp-includes/class-wp-hook.php(310): do_shortcode()
#10 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#11 /wp-includes/post-template.php(256): apply_filters()
#12 /wp-content/plugins/material-dashboard/templates/template-amd-raw.php(7): the_content()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/material-dashboard/functions.php on line 15
[21-Aug-2023 15:44:29 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "ADP_ASSETS_PATH" in /wp-content/plugins/material-dashboard/functions.php:15
Stack trace:
#0 /wp-includes/class-wp-hook.php(310): adp_register_avatars()
#1 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-content/plugins/material-dashboard/api/index.php(40): do_action()
#4 /wp-content/plugins/material-dashboard/functions.php(2074): require_once('...')
#5 /wp-content/plugins/material-dashboard/core/AMDCore/AMDCore.php(1101): amd_load_api()
#6 /wp-includes/shortcodes.php(395): AMDCore->{closure}()
#7 [internal function]: do_shortcode_tag()
#8 /wp-includes/shortcodes.php(235): preg_replace_callback()
#9 /wp-includes/class-wp-hook.php(310): do_shortcode()
#10 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#11 /wp-includes/post-template.php(256): apply_filters()
#12 /wp-content/plugins/material-dashboard/templates/template-amd-raw.php(7): the_content()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/material-dashboard/functions.php on line 15
[21-Aug-2023 15:44:29 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "ADP_ASSETS_PATH" in /wp-content/plugins/material-dashboard/functions.php:15
Stack trace:
#0 /wp-includes/class-wp-hook.php(310): adp_register_avatars()
#1 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-content/plugins/material-dashboard/api/index.php(40): do_action()
#4 /wp-content/plugins/material-dashboard/functions.php(2074): require_once('...')
#5 /wp-content/plugins/material-dashboard/core/AMDCore/AMDCore.php(1101): amd_load_api()
#6 /wp-includes/shortcodes.php(395): AMDCore->{closure}()
#7 [internal function]: do_shortcode_tag()
#8 /wp-includes/shortcodes.php(235): preg_replace_callback()
#9 /wp-includes/class-wp-hook.php(310): do_shortcode()
#10 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#11 /wp-includes/post-template.php(256): apply_filters()
#12 /wp-content/plugins/material-dashboard/templates/template-amd-raw.php(7): the_content()
#13 /wp-includes/template-loader.php(106): include('...')
#14 /wp-blog-header.php(19): require_once('...')
#15 /index.php(17): require('...')
#16 {main}
  thrown in /wp-content/plugins/material-dashboard/functions.php on line 15
[21-Aug-2023 15:44:29 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "ADP_ASSETS_PATH" in /wp-content/plugins/material-dashboard/functions.php:15
Stack trace:
#0 /wp-includes/class-wp-hook.php(310): adp_register_avatars()

(+1390 more lines)
See also: All tests for this plugin, How to Hide Material Dashboard Admin Menus