TCP Category Subdomains for Woocommerce 1.2.0

Does "TCP Category Subdomains for Woocommerce" work with WordPress 5.9.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
7PHP fatal errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 37.58 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 version5.9.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/tcp-category-subdomains/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=tcp-category-subdomains%2Ftcp-category-subdomains.php&plugin_status=all&paged=1&s&_wpnonce=4d2dfd065d
Aspect after-activation
HTTP status 200
Load time 0.424 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

TheCartPress

Page screenshot: TheCartPress
URL /wp-admin/admin.php?page=thecartpress
Aspect menu-item
HTTP status 200
Load time 2.070 s
Memory usage 3.4 MiB
JS errors None
Resource errors None

TheCartPress → Category Subdomains

Page screenshot: TheCartPress → Category Subdomains
URL /wp-admin/admin.php?page=tcp-subdomain-admin
Aspect menu-item
HTTP status 200
Load time 0.158 s
Memory usage 3.27 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.198 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.140 s-0.216 s3.37 MiB
/wp-admin/edit.php0.198 s0.132 s-0.066 s3.4 MiB
/wp-admin/post-new.php1.507 s1.295 s-0.212 s6.15 MiB6.19 MiB+ 38.36 KiB
/wp-admin/upload.php0.536 s0.382 s-0.154 s3.25 MiB3.29 MiB+ 42.8 KiB
/wp-admin/options-writing.php0.246 s0.146 s-0.100 s3.24 MiB3.27 MiB+ 25.97 KiB
/wp-admin/media-new.php0.250 s0.206 s-0.044 s3.23 MiB3.27 MiB+ 42.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.199 s+0.002 s3.27 MiB3.3 MiB+ 35.26 KiB
/wp-admin/post-new.php?post_type=page0.977 s1.168 s+0.191 s6.15 MiB6.18 MiB+ 34.46 KiB
/wp-admin/options-discussion.php0.278 s0.358 s+0.080 s3.22 MiB3.26 MiB+ 43.22 KiB
/wp-admin/edit-comments.php0.225 s0.150 s-0.075 s3.27 MiB
/0.361 s0.188 s-0.173 s3.4 MiB
Average 0.466 s0.397 s-0.070 s3.81 MiB4.11 MiB+ 37.58 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
Language % Lines of code Comment lines Files
PHP91.2%499524
CSS6.0%3301
SVG2.7%1511
Total 547 53 6

PHP Code Analysis | More results »

Lines of code 504
Total complexity 108
Median class complexity 22.5
Median method complexity 2.0
Most complex class Tcp_Subdomain
Most complex function TCPMenu::plugins_content()
Classes 4
Methods 32
Functions 4

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.

No new entries found.

PHP Error Log 77 lines

[20-Mar-2022 01:08:49 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_shop() in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php:89
Stack trace:
#0 /wp-includes/class-wp-hook.php(309): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/link-template.php(304): apply_filters()
#3 /wp-includes/link-template.php(158): get_permalink()
#4 /wp-admin/includes/dashboard.php(687): get_the_permalink()
#5 /wp-admin/includes/dashboard.php(1088): _wp_dashboard_recent_comments_row()
#6 /wp-admin/includes/dashboard.php(934): wp_dashboard_recent_comments()
#7 /wp-admin/includes/template.php(1395): wp_dashboard_site_activity()
#8 /wp-admin/include in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
[20-Mar-2022 01:08:50 UTC] PHP Notice:  Undefined index: active_installs in /wp-content/plugins/tcp-category-subdomains/tcp-menu.php on line 47
[20-Mar-2022 01:08:52 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/tcp-category-subdomains/tcp-subdomain-options.php on line 243
[20-Mar-2022 01:08:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_shop() in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php:89
Stack trace:
#0 /wp-includes/class-wp-hook.php(309): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/link-template.php(304): apply_filters()
#3 /wp-content/themes/twentyseventeen/inc/template-tags.php(53): get_permalink()
#4 /wp-content/themes/twentyseventeen/template-parts/post/content.php(28): twentyseventeen_time_link()
#5 /wp-includes/template.php(772): require('/opt/bitnami/ap...')
#6 /wp-includes/template.php(716): load_template()
#7 /wp-includes/general-template.php(204): locate_template()
#8 /opt/bitnami/apps/wordpress/htd in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
[20-Mar-2022 01:08:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_shop() in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php:89
Stack trace:
#0 /wp-includes/class-wp-hook.php(309): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/link-template.php(304): apply_filters()
#3 /wp-includes/link-template.php(158): get_permalink()
#4 /wp-admin/includes/dashboard.php(687): get_the_permalink()
#5 /wp-admin/includes/dashboard.php(1088): _wp_dashboard_recent_comments_row()
#6 /wp-admin/includes/dashboard.php(934): wp_dashboard_recent_comments()
#7 /wp-admin/includes/template.php(1395): wp_dashboard_site_activity()
#8 /wp-admin/include in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
[20-Mar-2022 01:08:53 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_shop() in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php:89
Stack trace:
#0 /wp-includes/class-wp-hook.php(309): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/link-template.php(304): apply_filters()
#3 /wp-admin/includes/class-wp-posts-list-table.php(1489): get_permalink()
#4 /wp-admin/includes/class-wp-posts-list-table.php(1029): WP_Posts_List_Table->handle_row_actions()
#5 /wp-admin/includes/class-wp-list-table.php(1441): WP_Posts_List_Table->_column_title()
#6 /wp-admin/includes/class-wp-posts-list-table.php(1384): WP_List_Table->single_row_columns()
#7 /wp-admin/includes/class-wp-pos in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
[20-Mar-2022 01:09:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_shop() in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php:89
Stack trace:
#0 /wp-includes/class-wp-hook.php(309): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/link-template.php(304): apply_filters()
#3 /wp-admin/includes/class-wp-comments-list-table.php(1053): get_permalink()
#4 /wp-admin/includes/class-wp-list-table.php(1445): WP_Comments_List_Table->column_response()
#5 /wp-admin/includes/class-wp-comments-list-table.php(644): WP_List_Table->single_row_columns()
#6 /wp-admin/includes/class-wp-list-table.php(1377): WP_Comments_List_Table->single_row()
#7 /wp-admin/includes/class-wp-list in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
[20-Mar-2022 01:09:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_shop() in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php:89
Stack trace:
#0 /wp-includes/class-wp-hook.php(309): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/link-template.php(304): apply_filters()
#3 /wp-content/themes/twentyseventeen/inc/template-tags.php(53): get_permalink()
#4 /wp-content/themes/twentyseventeen/template-parts/post/content.php(28): twentyseventeen_time_link()
#5 /wp-includes/template.php(772): require('/opt/bitnami/ap...')
#6 /wp-includes/template.php(716): load_template()
#7 /wp-includes/general-template.php(204): locate_template()
#8 /opt/bitnami/apps/wordpress/htd in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
[20-Mar-2022 01:09:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_shop() in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php:89
Stack trace:
#0 /wp-includes/class-wp-hook.php(309): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(189): WP_Hook->apply_filters()
#2 /wp-includes/link-template.php(304): apply_filters()
#3 /wp-includes/link-template.php(158): get_permalink()
#4 /wp-admin/includes/dashboard.php(687): get_the_permalink()
#5 /wp-admin/includes/dashboard.php(1088): _wp_dashboard_recent_comments_row()
#6 /wp-admin/includes/dashboard.php(934): wp_dashboard_recent_comments()
#7 /wp-admin/includes/template.php(1395): wp_dashboard_site_activity()
#8 /wp-admin/include in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
See also: All tests for this plugin