Does Media Categories work with WordPress 7.1 and PHP 8.1.12? A smoke test was performed on .
| 3 | PHP fatal errors |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
Memory usage: 1.31 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.
| WordPress version | 7.1 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | 1,000+ |
| WordPress.org page | https://wordpress.org/plugins/media-categories-2/ |
| Badges |
|
| URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=media-categories-2%2Fmedia-categories.php&plugin_status=all&paged=1&s&_wpnonce=9fabe4d130 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.998 s |
| Memory usage | 4.25 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/edit-tags.php?taxonomy=category&post_type=attachment |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.612 s |
| Memory usage | 4.23 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.247 s |
| Memory usage | 4.61 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.937 s | 0.662 s | -0.275 s | 4.23 MiB | 4.23 MiB | + 8.48 KiB |
| /wp-admin/edit.php | 0.545 s | 0.503 s | -0.042 s | 4.28 MiB | 4.29 MiB | + 8.48 KiB |
| /wp-admin/options-writing.php | 0.541 s | 0.663 s | +0.122 s | 4.22 MiB | 4.22 MiB | - 4.93 KiB |
| /wp-admin/media-new.php | 0.608 s | 0.602 s | -0.006 s | 4.21 MiB | 4.21 MiB | + 3.27 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.779 s | 0.518 s | -0.261 s | 4.22 MiB | 4.23 MiB | + 8.44 KiB |
| /wp-admin/options-discussion.php | 0.944 s | 0.639 s | -0.305 s | 4.23 MiB | 4.21 MiB | - 12.43 KiB |
| /wp-admin/edit-comments.php | 0.540 s | 0.665 s | +0.125 s | 4.24 MiB | 4.23 MiB | - 8.93 KiB |
| / | 0.320 s | 0.233 s | -0.087 s | 4.6 MiB | 4.61 MiB | + 8.07 KiB |
| Average | 0.652 s | 0.561 s | -0.091 s | 4.28 MiB | 4.28 MiB | + 1.31 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 62.8% | 294 | 87 | 2 | |
| JavaScript | 23.5% | 110 | 42 | 2 | |
| CSS | 13.7% | 64 | 4 | 2 | |
| Total | 468 | 133 | 6 | ||
| Lines of code | 306 |
|---|---|
| Total complexity | 58 |
| Median class complexity | 29.0 |
| Median method complexity | 2.0 |
| Most complex class | Media_Categories |
| Most complex function | Media_Categories::gallery_shortcode() |
| Classes | 2 |
|---|---|
| Methods | 13 |
| Functions | 0 |
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.
[23-Aug-2026 21:06:36 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method Media_Categories::enqueue_media_categories_scripts() cannot be called statically in /wp-includes/class-wp-hook.php:353
Stack trace:
#0 /wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(523): WP_Hook->do_action()
#2 /wp-includes/media.php(5322): do_action()
#3 /wp-admin/edit-form-blocks.php(336): wp_enqueue_media()
#4 /wp-admin/post-new.php(72): require('...')
#5 {main}
thrown in /wp-includes/class-wp-hook.php on line 353
[23-Aug-2026 21:06:36 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method Media_Categories::enqueue_media_categories_scripts() cannot be called statically in /wp-includes/class-wp-hook.php:353
Stack trace:
#0 /wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(523): WP_Hook->do_action()
#2 /wp-includes/media.php(5322): do_action()
#3 /wp-admin/upload.php(141): wp_enqueue_media()
#4 {main}
thrown in /wp-includes/class-wp-hook.php on line 353
[23-Aug-2026 21:06:38 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method Media_Categories::enqueue_media_categories_scripts() cannot be called statically in /wp-includes/class-wp-hook.php:353
Stack trace:
#0 /wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(523): WP_Hook->do_action()
#2 /wp-includes/media.php(5322): do_action()
#3 /wp-admin/edit-form-blocks.php(336): wp_enqueue_media()
#4 /wp-admin/post-new.php(72): require('...')
#5 {main}
thrown in /wp-includes/class-wp-hook.php on line 353