MP3 Audio Player by Sonaar 4.6

Does MP3 Audio Player by Sonaar work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

No data available.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/mp3-music-player-by-sonaar/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

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=mp3-music-player-by-sonaar%2Fsonaar-music.php&plugin_status=all&paged=1&s&_wpnonce=db8e86a581
Aspect after-activation
HTTP status 500
Load time 0.165 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

No benchmark data available.

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.

PO File
PHP
SVG
CSS
JavaScript
Language % Lines of code Comment lines Files
PO File25.7%32,32318,502120
PHP25.5%32,0108,425102
SVG22.9%28,764831
CSS10.6%13,2661,44727
JavaScript9.5%11,94686119
Sass3.9%4,9239036
Markdown0.9%1,165011
JSON0.7%84106
HTML0.3%37411
XML0.0%821
YAML0.0%101
Total 125,621 29,336 355

PHP Code Analysis | More results »

Lines of code 29,675
Total complexity 4,953
Median class complexity 9.0
Median method complexity 2.0
Most complex class Sonaar_Music_Widget
Most complex function Sonaar_Music_Widget::widget()
Classes 92
Methods 735
Functions 91

Additions

No data available.

PHP Error Log 18 lines

[28-Jun-2023 15:59:26 UTC] PHP Fatal error:  Uncaught Error: Undefined constant "SR_PLAYLIST_CPT" in /wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php:4781
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Sonaar_Music_Admin->init_my_shortcode_button()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-content/plugins/mp3-music-player-by-sonaar/admin/library/Shortcode_Button/shortcode-button.php(116): do_action()
#4 /wp-includes/class-wp-hook.php(308): Shortcode_Button_107::fire_hook()
#5 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#6 /wp-includes/plugin.php(517): WP_Hook->do_action()
#7 /wp-settings.php(486): do_action()
#8 /wp-config.php(191): require_once('...')
#9 /wp-load.php(50): require_once('...')
#10 /wp-admin/admin.php(34): require_once('...')
#11 /wp-admin/plugins.php(10): require_once('...')
#12 {main}
  thrown in /wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php on line 4781
[28-Jun-2023 15:59:26 UTC] PHP Notice:  Function is_embed was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5865
[28-Jun-2023 15:59:26 UTC] PHP Notice:  Function is_search was called <strong>incorrectly</strong>. Conditional query tags do not work before the query is run. Before then, they always return false. Please see <a href="https://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 3.1.0.) in /wp-includes/functions.php on line 5865
See also: All tests for this plugin, How to Hide MP3 Audio Player by Sonaar Admin Menus and Meta Boxes