Does Music Player for WooCommerce work with WordPress 5.9 and PHP 7.4.8? A smoke test was performed on .
6 | PHP fatal errors |
No JavaScript exceptions | |
All test pages loaded successfully | |
No resource errors |
Memory usage: 141.39 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 | 5.9 |
---|---|
PHP version | 7.4.8 |
MySQL version | 8.0.21 |
PHP memory limit | 256M |
Last updated | |
---|---|
Active installs | 2,000+ |
WordPress.org page | https://wordpress.org/plugins/music-player-for-woocommerce/ |
Badges |
Get badge code |
URL | /wp-admin/plugins.php?plugin_status=all&paged=1&s |
---|---|
Requested URL | /wp-admin/plugins.php?action=activate&plugin=music-player-for-woocommerce%2Fwcmp.php&plugin_status=all&paged=1&s&_wpnonce=f344e5b6c0 |
Aspect | after-activation |
HTTP status | 200 |
Load time | 0.393 s |
Memory usage | 3.41 MiB |
JS errors | None |
Resource errors | None |
URL | / |
---|---|
Aspect | front-page |
HTTP status | 200 |
Load time | 0.172 s |
Memory usage | N/A |
JS errors | None |
Resource errors | None |
URL | /wp-admin/widgets.php |
---|---|
Aspect | new-sidebar-widgets |
HTTP status | 200 |
Load time | 1.338 s |
Memory usage | 5.28 MiB |
JS errors | None |
Resource errors | None |
URL | Load time | Memory usage | ||||
---|---|---|---|---|---|---|
Inactive | Active | Change | Inactive | Active | Change | |
/wp-admin/index.php | 0.380 s | 0.240 s | -0.140 s | 3.36 MiB | 3.46 MiB | + 94.34 KiB |
/wp-admin/edit.php | 0.164 s | 0.180 s | +0.016 s | 3.39 MiB | 3.55 MiB | + 157.31 KiB |
/wp-admin/post-new.php | 0.781 s | 0.918 s | +0.137 s | 6.14 MiB | 6.24 MiB | + 99.8 KiB |
/wp-admin/upload.php | 0.429 s | 0.331 s | -0.098 s | 3.24 MiB | 3.4 MiB | + 164.91 KiB |
/wp-admin/options-writing.php | 0.221 s | 0.136 s | -0.085 s | 3.24 MiB | 3.38 MiB | + 148.77 KiB |
/wp-admin/media-new.php | 0.236 s | 0.176 s | -0.060 s | 3.22 MiB | 3.38 MiB | + 165.09 KiB |
/wp-admin/edit-tags.php?taxonomy=category | 0.176 s | 0.163 s | -0.013 s | 3.25 MiB | 3.41 MiB | + 165.99 KiB |
/wp-admin/post-new.php?post_type=page | 0.671 s | 0.745 s | +0.074 s | 6.14 MiB | 6.23 MiB | + 95.38 KiB |
/wp-admin/options-discussion.php | 0.232 s | 0.286 s | +0.054 s | 3.22 MiB | 3.38 MiB | + 165.4 KiB |
/wp-admin/edit-comments.php | 0.201 s | 0.192 s | -0.009 s | 3.26 MiB | 3.42 MiB | + 156.88 KiB |
/ | 0.395 s | 0.159 s | -0.236 s | 3.35 MiB | ||
Average | 0.353 s | 0.321 s | -0.033 s | 3.8 MiB | 3.99 MiB | + 141.39 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 | 75.3% | 3,400 | 140 | 22 | |
PO File | 10.9% | 492 | 223 | 1 | |
JavaScript | 10.5% | 472 | 11 | 8 | |
CSS | 2.9% | 130 | 1 | 9 | |
JSON | 0.4% | 19 | 0 | 1 | |
SVG | 0.0% | 1 | 0 | 1 | |
Total | 4,514 | 375 | 42 |
Lines of code | 2,336 |
---|---|
Total complexity | 582 |
Median class complexity | 19.0 |
Median method complexity | 3.0 |
Most complex class | WooCommerceMusicPlayer |
Most complex function | WooCommerceMusicPlayer::replace_playlist_shortcode() |
Classes | 14 |
---|---|
Methods | 137 |
Functions | 2 |
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.
wp_options
1ID | Name |
---|---|
wcmp_playlist_widget | Music Player for WooCommerce - Playlist |
[21-Feb-2022 22:44:33 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/nav-menu.php(859): apply_filters()
#3 [internal function]: wp_setup_nav_menu_item()
#4 /wp-includes/nav-menu.php(764): array_map()
#5 /wp-includes/nav-menu-template.php(151): wp_get_nav_menu_items()
#6 /wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php(24): wp_nav_menu()
#7 /wp-includes/template.php(772): require('/opt/bitnami/ap...')
#8 /wp-includes/template.php(716): load_template()
in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:36 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(171): apply_filters()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1788): get_the_title()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(560): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1141): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
# in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:39 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(171): apply_filters()
#3 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1788): get_the_title()
#4 /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(560): WP_REST_Posts_Controller->prepare_item_for_response()
#5 /wp-includes/rest-api/class-wp-rest-server.php(1141): WP_REST_Posts_Controller->get_item()
#6 /wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
# in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/nav-menu.php(859): apply_filters()
#3 [internal function]: wp_setup_nav_menu_item()
#4 /wp-includes/nav-menu.php(764): array_map()
#5 /wp-includes/nav-menu-template.php(151): wp_get_nav_menu_items()
#6 /wp-content/themes/twentyseventeen/template-parts/navigation/navigation-top.php(24): wp_nav_menu()
#7 /wp-includes/template.php(772): require('/opt/bitnami/ap...')
#8 /wp-includes/template.php(716): load_template()
in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(171): apply_filters()
#3 /wp-includes/widgets/class-wp-widget-recent-posts.php(113): get_the_title()
#4 /wp-includes/widgets.php(1257): WP_Widget_Recent_Posts->widget()
#5 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(548): the_widget()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(518): WP_REST_Widget_Types_Controller->get_widget_preview()
#7 /opt/bitnami/apps/wordpress/ in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824
[21-Feb-2022 22:44:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function is_product() in /wp-content/plugins/music-player-for-woocommerce/wcmp.php:824
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): WooCommerceMusicPlayer->include_main_player_filter()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/post-template.php(171): apply_filters()
#3 /wp-includes/widgets/class-wp-widget-recent-comments.php(152): get_the_title()
#4 /wp-includes/widgets.php(1257): WP_Widget_Recent_Comments->widget()
#5 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(548): the_widget()
#6 /wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php(518): WP_REST_Widget_Types_Controller->get_widget_preview()
#7 /opt/bitnami/apps/word in /wp-content/plugins/music-player-for-woocommerce/wcmp.php on line 824