Enable Mastodon Apps 0.9.1

Does Enable Mastodon Apps work with WordPress 6.5.4 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
14PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

Memory usage: 239.91 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.5.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 500+
WordPress.org page https://wordpress.org/plugins/enable-mastodon-apps/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

WordPress › Error

Page screenshot: WordPress › Error
URL /wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s=
Requested URL /wp-admin/plugins.php?action=activate&plugin=enable-mastodon-apps%2Fenable-mastodon-apps.php&plugin_status=all&paged=1&s&_wpnonce=9918bf4168
Aspect after-activation
HTTP status 500
Load time 0.153 s
Memory usage N/A
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.176 s
Memory usage 3.65 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/0.325 s0.172 s-0.153 s3.42 MiB3.65 MiB+ 239.91 KiB
Average 0.325 s0.172 s-0.153 s3.42 MiB3.65 MiB+ 239.91 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
PHP86.9%6,7642,53548
HTML7.5%58301
CSS3.0%23301
Markdown1.5%11501
JSON0.6%4901
JavaScript0.6%4411
Total 7,788 2,536 53

PHP Code Analysis | More results »

Lines of code 6,232
Total complexity 950
Median class complexity 8.0
Median method complexity 2.0
Most complex class Enable_Mastodon_Apps\Mastodon_API
Most complex function Enable_Mastodon_Apps\Mastodon_API::add_rest_routes()
Classes 41
Methods 261
Functions 3

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 112 lines

[12-Jun-2024 03:39:38 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/plugins.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:39 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/index.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/index.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/edit.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/post-new.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/upload.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/options-writing.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/media-new.php(13): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/edit-tags.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/post-new.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/options-discussion.php(9): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:40 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()
#2 /wp-admin/admin.php(175): do_action()
#3 /wp-admin/edit-comments.php(10): require_once('...')
#4 {main}
  thrown in /wp-includes/class-wp-hook.php on line 324
[12-Jun-2024 03:39:41 UTC] PHP Fatal error:  Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "\Mastodon_Admin" not found in /wp-includes/class-wp-hook.php:324
Stack trace:
#0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(517): WP_Hook->do_action()

(+12 more lines)
See also: All tests for this plugin, How to Hide Enable Mastodon Apps Admin Menus