TikTok 1.0.11

Does TikTok work with WordPress 6.1.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
The plugin could not be activated
3PHP fatal errors
No JavaScript exceptions
No resource errors
Performance

No data available.

Environment
WordPress version6.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/tiktok-for-business/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 1

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin=tiktok-for-business%2Ftiktok-for-woocommerce.php
Requested URL /wp-admin/plugins.php?action=activate&plugin=tiktok-for-business%2Ftiktok-for-woocommerce.php&plugin_status=all&paged=1&s&_wpnonce=29238a89c2
Aspect after-activation
HTTP status 200
Load time 0.282 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Benchmark

No benchmark data available.

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
PHP95.1%1,86755213
JavaScript2.7%5421
JSON2.0%4002
CSS0.2%301
Total 1,964 554 17

PHP Code Analysis | More results »

Lines of code 1,840
Total complexity 228
Median class complexity 23.0
Median method complexity 2.0
Most complex class Tt4b_Menu_Class
Most complex function Tt4b_Menu_Class::tt4b_admin_menu_main()
Classes 8
Methods 48
Functions 4

Additions

No data available.

PHP Error Log 25 lines

[16-Nov-2022 15:11:34 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php:150
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Tiktokforbusiness::tt_plugin_activate()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/includes/plugin.php(691): do_action()
#4 /wp-admin/plugins.php(58): activate_plugin()
#5 {main}
  thrown in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php on line 150
[16-Nov-2022 15:11:34 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php:150
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Tiktokforbusiness::tt_plugin_activate()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/plugins.php(194): do_action()
#4 {main}
  thrown in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php on line 150
[16-Nov-2022 15:11:34 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php:150
Stack trace:
#0 /wp-includes/class-wp-hook.php(308): Tiktokforbusiness::tt_plugin_activate()
#1 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-admin/plugins.php(194): do_action()
#4 {main}
  thrown in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php on line 150
See also: All tests for this plugin, How to Hide the "TikTok" Admin Menu