TCP Category Subdomains for Woocommerce 1.1.0

Does "TCP Category Subdomains for Woocommerce" work with WordPress 5.7.1 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.16 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.7.1
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=f9c5eeb11b
Aspect after-activation
HTTP status 200
Load time 0.276 s
Memory usage 2.81 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.949 s
Memory usage 2.86 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.157 s
Memory usage 2.71 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.302 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.276 s0.135 s-0.141 s2.82 MiB
/wp-admin/edit.php0.191 s0.136 s-0.055 s2.86 MiB
/wp-admin/post-new.php1.006 s0.705 s-0.301 s5.02 MiB5.07 MiB+ 50.67 KiB
/wp-admin/upload.php0.488 s0.403 s-0.085 s2.7 MiB2.73 MiB+ 38.8 KiB
/wp-admin/options-writing.php0.176 s0.234 s+0.058 s2.71 MiB2.72 MiB+ 6.09 KiB
/wp-admin/media-new.php0.212 s0.219 s+0.007 s2.67 MiB2.71 MiB+ 38.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.204 s+0.007 s2.77 MiB2.81 MiB+ 39.26 KiB
/wp-admin/post-new.php?post_type=page0.875 s1.116 s+0.241 s5.01 MiB5.05 MiB+ 47.08 KiB
/wp-admin/options-discussion.php0.330 s0.292 s-0.038 s2.67 MiB2.71 MiB+ 39.22 KiB
/wp-admin/edit-comments.php0.249 s0.154 s-0.095 s2.78 MiB
/0.273 s0.248 s-0.025 s2.65 MiB
Average 0.388 s0.350 s-0.039 s3.15 MiB3.4 MiB+ 37.16 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%498524
CSS6.0%3301
SVG2.7%1511
Total 546 53 6

PHP Code Analysis | More results »

Lines of code 503
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

[22-Apr-2021 19:56:04 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(294): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(212): 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(661): get_the_permalink()
#5 /wp-admin/includes/dashboard.php(1055): _wp_dashboard_recent_comments_row()
#6 /wp-admin/includes/dashboard.php(908): wp_dashboard_recent_comments()
#7 /wp-admin/includes/template.php(1389): wp_dashboard_site_activity()
#8 /wp-admin/include in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
[22-Apr-2021 19:56:05 UTC] PHP Notice:  Undefined index: active_installs in /wp-content/plugins/tcp-category-subdomains/tcp-menu.php on line 47
[22-Apr-2021 19:56:08 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 242
[22-Apr-2021 19:56:08 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(294): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(212): 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(732): require('/opt/bitnami/ap...')
#6 /wp-includes/template.php(676): 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
[22-Apr-2021 19:56:08 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(294): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(212): 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(661): get_the_permalink()
#5 /wp-admin/includes/dashboard.php(1055): _wp_dashboard_recent_comments_row()
#6 /wp-admin/includes/dashboard.php(908): wp_dashboard_recent_comments()
#7 /wp-admin/includes/template.php(1389): wp_dashboard_site_activity()
#8 /wp-admin/include in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
[22-Apr-2021 19:56:08 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(294): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/link-template.php(304): apply_filters()
#3 /wp-admin/includes/class-wp-posts-list-table.php(1416): get_permalink()
#4 /wp-admin/includes/class-wp-posts-list-table.php(977): WP_Posts_List_Table->handle_row_actions()
#5 /wp-admin/includes/class-wp-list-table.php(1438): WP_Posts_List_Table->_column_title()
#6 /wp-admin/includes/class-wp-posts-list-table.php(1315): WP_List_Table->single_row_columns()
#7 /wp-admin/includes/class-wp-post in /wp-content/plugins/tcp-category-subdomains/tcp-pa-subdomain.php on line 89
[22-Apr-2021 19:56:14 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(294): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(212): WP_Hook->apply_filters()
#2 /wp-includes/link-template.php(304): apply_filters()
#3 /wp-admin/includes/class-wp-comments-list-table.php(1011): get_permalink()
#4 /wp-admin/includes/class-wp-list-table.php(1442): WP_Comments_List_Table->column_response()
#5 /wp-admin/includes/class-wp-comments-list-table.php(626): WP_List_Table->single_row_columns()
#6 /wp-admin/includes/class-wp-list-table.php(1374): 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
[22-Apr-2021 19:56:15 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(294): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(212): 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(732): require('/opt/bitnami/ap...')
#6 /wp-includes/template.php(676): 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
[22-Apr-2021 19:56:15 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(294): Tcp_Subdomain->post_type_link()
#1 /wp-includes/plugin.php(212): 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(661): get_the_permalink()
#5 /wp-admin/includes/dashboard.php(1055): _wp_dashboard_recent_comments_row()
#6 /wp-admin/includes/dashboard.php(908): wp_dashboard_recent_comments()
#7 /wp-admin/includes/template.php(1389): 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