Plastic Tunes 1.4

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

Summary

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

Memory usage: 13.08 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.7.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=d32c6b323d
Aspect after-activation
HTTP status 200
Load time 0.263 s
Memory usage 3.53 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.135 s
Memory usage 3.49 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.167 s
Memory usage 3.51 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.159 s
Memory usage 3.43 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.442 s
Memory usage 5.8 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.287 s0.264 s-0.023 s3.48 MiB3.5 MiB+ 22.3 KiB
/wp-admin/edit.php0.176 s0.181 s+0.005 s3.54 MiB3.59 MiB+ 43.1 KiB
/wp-admin/post-new.php0.710 s0.592 s-0.118 s5.93 MiB5.95 MiB+ 25.95 KiB
/wp-admin/upload.php0.490 s0.448 s-0.042 s3.5 MiB3.51 MiB+ 11.2 KiB
/wp-admin/options-writing.php0.201 s0.179 s-0.022 s3.47 MiB3.48 MiB+ 9.69 KiB
/wp-admin/media-new.php0.251 s0.178 s-0.073 s3.46 MiB3.48 MiB+ 17.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.161 s0.157 s-0.004 s3.48 MiB3.5 MiB+ 28.55 KiB
/wp-admin/post-new.php?post_type=page0.549 s0.537 s-0.012 s5.92 MiB5.94 MiB+ 21.48 KiB
/wp-admin/options-discussion.php0.272 s0.396 s+0.124 s3.48 MiB3.48 MiB+ 6.19 KiB
/wp-admin/edit-comments.php0.382 s0.206 s-0.176 s3.5 MiB3.51 MiB+ 11.19 KiB
/0.273 s0.180 s-0.093 s3.48 MiB3.43 MiB- 53.71 KiB
Average 0.341 s0.302 s-0.039 s3.93 MiB3.94 MiB+ 13.08 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 1563 lines

[27-Feb-2025 04:14:26 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')
[27-Feb-2025 04:14:26 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')
[27-Feb-2025 04:14:26 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 6114
[27-Feb-2025 04:14:26 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 6114
[27-Feb-2025 04:14:26 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 6114
[27-Feb-2025 04:14:26 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 6114
[27-Feb-2025 04:14:26 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 6114
[27-Feb-2025 04:14:26 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 6114
[27-Feb-2025 04:14:27 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')
[27-Feb-2025 04:14:27 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 6114
[27-Feb-2025 04:14:27 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 6114
[27-Feb-2025 04:14:27 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 6114
[27-Feb-2025 04:14:27 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 6114
[27-Feb-2025 04:14:27 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 6114
[27-Feb-2025 04:14:27 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 6114
[27-Feb-2025 04:14:28 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')
[27-Feb-2025 04:14:28 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 6114
[27-Feb-2025 04:14:28 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 6114
[27-Feb-2025 04:14:28 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 6114
[27-Feb-2025 04:14:28 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 6114
[27-Feb-2025 04:14:28 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 6114
[27-Feb-2025 04:14:28 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 6114
[27-Feb-2025 04:14:28 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 6114
[27-Feb-2025 04:14:28 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 407
[27-Feb-2025 04:14:28 UTC] PHP Warning:  Undefined array key "action" in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 417
[27-Feb-2025 04:14:28 UTC] PHP Warning:  Undefined variable $plastic_tunes_startrow in /wp-content/plugins/plastic-tunes/plastic_pages.php on line 434
[27-Feb-2025 04:14:28 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
[27-Feb-2025 04:14:28 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 ,

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