TikTok 1.0.4

Does TikTok work with WordPress 6.0.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.0.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=208757e54e
Aspect after-activation
HTTP status 200
Load time 0.284 s
Memory usage 3.69 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
PHP94.3%1,0853689
JavaScript4.4%5121
JSON1.0%1201
CSS0.3%301
Total 1,151 370 12

PHP Code Analysis | More results »

Lines of code 1,077
Total complexity 146
Median class complexity 22.0
Median method complexity 2.0
Most complex class Tt4b_Menu_Class
Most complex function Tt4b_Menu_Class::tt4b_admin_menu_main()
Classes 6
Methods 31
Functions 1

Additions

No data available.

PHP Error Log 25 lines

[18-Jul-2022 19:19:22 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php:110
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): Tiktokforbusiness::tt_plugin_activate()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): 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 110
[18-Jul-2022 19:19:22 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php:110
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): Tiktokforbusiness::tt_plugin_activate()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): 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 110
[18-Jul-2022 19:19:22 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php:110
Stack trace:
#0 /wp-includes/class-wp-hook.php(307): Tiktokforbusiness::tt_plugin_activate()
#1 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(476): 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 110
See also: All tests for this plugin, How to Hide the "TikTok" Admin Menu