Plastic Tunes 1.4

Does Plastic Tunes work with WordPress 6.8.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
11PHP warnings
228PHP deprecation warnings
80Database errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 23.61 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/plastic-tunes/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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=plastic-tunes%2Fplastic_tunes.php&plugin_status=all&paged=1&s&_wpnonce=0e716fa47f
Aspect after-activation
HTTP status 200
Load time 0.316 s
Memory usage 3.56 MiB
JS errors None
Resource errors None

Tools → Plastic Tunes

Page screenshot: Tools → Plastic Tunes
URL /wp-admin/tools.php?page=plastic_tunes.php
Aspect menu-item
HTTP status 200
Load time 0.169 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Settings → Plastic Tunes

Page screenshot: Settings → Plastic Tunes
URL /wp-admin/options-general.php?page=plastic_tunes.php
Aspect menu-item
HTTP status 200
Load time 0.208 s
Memory usage 3.53 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.190 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.476 s
Memory usage 5.85 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.365 s0.302 s-0.063 s3.51 MiB3.55 MiB+ 45.55 KiB
/wp-admin/edit.php0.213 s0.242 s+0.029 s3.57 MiB3.61 MiB+ 43.19 KiB
/wp-admin/post-new.php0.842 s0.690 s-0.152 s6.06 MiB6.09 MiB+ 26.05 KiB
/wp-admin/upload.php0.779 s0.570 s-0.209 s3.52 MiB3.55 MiB+ 31.28 KiB
/wp-admin/options-writing.php0.242 s0.212 s-0.030 s3.5 MiB3.51 MiB+ 9.77 KiB
/wp-admin/media-new.php0.277 s0.288 s+0.011 s3.49 MiB3.51 MiB+ 17.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.209 s0.211 s+0.002 s3.5 MiB3.53 MiB+ 28.64 KiB
/wp-admin/post-new.php?post_type=page0.798 s0.600 s-0.198 s6.05 MiB6.07 MiB+ 21.57 KiB
/wp-admin/options-discussion.php0.521 s0.258 s-0.263 s3.5 MiB3.51 MiB+ 6.27 KiB
/wp-admin/edit-comments.php0.249 s0.460 s+0.211 s3.52 MiB3.53 MiB+ 11.27 KiB
/0.326 s0.213 s-0.113 s3.43 MiB3.45 MiB+ 18.17 KiB
Average 0.438 s0.368 s-0.070 s3.97 MiB3.99 MiB+ 23.61 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
HTML
Language % Lines of code Comment lines Files
PHP85.8%1,2352175
HTML11.9%17201
CSS2.3%3391
Total 1,440 226 7

PHP Code Analysis | More results »

Lines of code 1,271
Total complexity 201
Median class complexity 16.0
Median method complexity 2.0
Most complex class Str
Most complex function plastic_table()
Classes 2
Methods 18
Functions 15

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.

Options wp_options 33

Sidebar Widgets 1

ID Name
plastic-tunesPlastic Tunes

PHP Error Log 1509 lines

[31-Jul-2025 16:03:07 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,
`rating` INT NULL ,
`year` VARCHAR(255) NULL,
`track` INT NULL,
`genre` VARCHAR(255) NULL,
`duration` VARCHAR(255) NULL,
PRIMARY KEY ( `id` )
) TYPE = MYISAM
 made by activate_plugin, plugin_sandbox_scrape, include_once('/plugins/plastic-tunes/plastic_tunes.php')
[31-Jul-2025 16:03:07 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,
`rating` INT NULL ,
`year` VARCHAR(255) NULL,
`track` INT NULL,
`genre` VARCHAR(255) NULL,
`duration` VARCHAR(255) NULL,
PRIMARY KEY ( `id` )
) TYPE = MYISAM
 made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/plastic-tunes/plastic_tunes.php')
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function register_sidebar_widget is <strong>deprecated</strong> since version 2.8.0! Use wp_register_sidebar_widget() instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function register_widget_control is <strong>deprecated</strong> since version 2.8.0! Use wp_register_widget_control() instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,
`rating` INT NULL ,
`year` VARCHAR(255) NULL,
`track` INT NULL,
`genre` VARCHAR(255) NULL,
`duration` VARCHAR(255) NULL,
PRIMARY KEY ( `id` )
) TYPE = MYISAM
 made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/plastic-tunes/plastic_tunes.php')
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function register_sidebar_widget is <strong>deprecated</strong> since version 2.8.0! Use wp_register_sidebar_widget() instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function register_widget_control is <strong>deprecated</strong> since version 2.8.0! Use wp_register_widget_control() instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:07 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:08 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,
`rating` INT NULL ,
`year` VARCHAR(255) NULL,
`track` INT NULL,
`genre` VARCHAR(255) NULL,
`duration` VARCHAR(255) NULL,
PRIMARY KEY ( `id` )
) TYPE = MYISAM
 made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/plastic-tunes/plastic_tunes.php')
[31-Jul-2025 16:03:08 UTC] PHP Deprecated:  Function register_sidebar_widget is <strong>deprecated</strong> since version 2.8.0! Use wp_register_sidebar_widget() instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:08 UTC] PHP Deprecated:  Function register_widget_control is <strong>deprecated</strong> since version 2.8.0! Use wp_register_widget_control() instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:08 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:08 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:08 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:08 UTC] PHP Deprecated:  Function has_cap was called with an argument that is <strong>deprecated</strong> since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:08 UTC] PHP Deprecated:  Function get_settings is <strong>deprecated</strong> since version 2.1.0! Use get_option() instead. in /wp-includes/functions.php on line 6121
[31-Jul-2025 16:03:08 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 407
[31-Jul-2025 16:03:08 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 417
[31-Jul-2025 16:03:08 UTC] PHP Warning:  Undefined variable $plastic_tunes_startrow in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 434
[31-Jul-2025 16:03:08 UTC] WordPress database error Table 'wordpress.wp_plastic_tunes' doesn't exist for query 
	SELECT user_id AS user_id, id AS song_id, title AS title, artist AS artist, album AS album, year AS year, genre AS genre, 
	track AS track, rating as rating, DATE_FORMAT(created, "%d %b %y") AS created, UNIX_TIMESTAMP(created) AS time_stamp, duration AS duration
	FROM wp_plastic_tunes
	ORDER BY time_stamp desc	
	LIMIT 0, 21 made by require_once('wp-admin/admin.php'), do_action('tools_page_plastic_tunes'), WP_Hook->do_action, WP_Hook->apply_filters, plastic_tunes_manage
[31-Jul-2025 16:03:09 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'TYPE = MYISAM' at line 14 for query 
CREATE TABLE IF NOT EXISTS `wp_plastic_tunes` (
`id` BIGINT NOT NULL AUTO_INCREMENT ,
`user_id` INT NOT NULL ,
`created` TIMESTAMP ,
`artist` VARCHAR(255) NULL ,
`album` VARCHAR(255) NULL ,
`title` VARCHAR(255) NULL ,

(+1409 more lines)
See also: All tests for this plugin, How to Hide Plastic Tunes Admin Menus