Plastic Tunes 1.4

Does Plastic Tunes work with WordPress 6.8.1 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.1
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=e38b60e2f2
Aspect after-activation
HTTP status 200
Load time 0.289 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.161 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.200 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.248 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.653 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.357 s0.332 s-0.025 s3.51 MiB3.55 MiB+ 45.55 KiB
/wp-admin/edit.php0.223 s0.207 s-0.016 s3.57 MiB3.61 MiB+ 43.19 KiB
/wp-admin/post-new.php0.789 s0.623 s-0.166 s6.06 MiB6.09 MiB+ 26.05 KiB
/wp-admin/upload.php0.626 s0.387 s-0.239 s3.52 MiB3.55 MiB+ 31.28 KiB
/wp-admin/options-writing.php0.227 s0.213 s-0.014 s3.5 MiB3.51 MiB+ 9.77 KiB
/wp-admin/media-new.php0.353 s0.304 s-0.049 s3.49 MiB3.51 MiB+ 17.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.202 s+0.013 s3.5 MiB3.53 MiB+ 28.64 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.603 s-0.015 s6.05 MiB6.07 MiB+ 21.57 KiB
/wp-admin/options-discussion.php0.285 s0.304 s+0.019 s3.5 MiB3.51 MiB+ 6.27 KiB
/wp-admin/edit-comments.php0.224 s0.197 s-0.027 s3.52 MiB3.53 MiB+ 11.27 KiB
/0.327 s0.196 s-0.131 s3.43 MiB3.45 MiB+ 18.17 KiB
Average 0.383 s0.324 s-0.059 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

[16-May-2025 02:21:43 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')
[16-May-2025 02:21:43 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')
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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')
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:43 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
[16-May-2025 02:21:44 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')
[16-May-2025 02:21:44 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
[16-May-2025 02:21:44 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
[16-May-2025 02:21:44 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
[16-May-2025 02:21:44 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
[16-May-2025 02:21:44 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
[16-May-2025 02:21:44 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
[16-May-2025 02:21:44 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
[16-May-2025 02:21:44 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 407
[16-May-2025 02:21:44 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 417
[16-May-2025 02:21:44 UTC] PHP Warning:  Undefined variable $plastic_tunes_startrow in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 434
[16-May-2025 02:21:44 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
[16-May-2025 02:21:45 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