TikTok 1.0.12

Does TikTok work with WordPress 6.1.1 and PHP 8.1.12? 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 version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=ab8bd2ca0c
Aspect after-activation
HTTP status 200
Load time 0.266 s
Memory usage 2.99 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
PHP92.0%1,96259713
XML3.4%73151
JavaScript2.5%5421
JSON1.9%4002
CSS0.1%301
Total 2,132 614 18

PHP Code Analysis | More results »

Lines of code 1,934
Total complexity 248
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 50
Functions 7

Additions

No data available.

PHP Error Log 25 lines

[30-Nov-2022 20:32:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php:157
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 157
[30-Nov-2022 20:32:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php:157
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 157
[30-Nov-2022 20:32:00 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_logger() in /wp-content/plugins/tiktok-for-business/tiktok-for-woocommerce.php:157
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 157
See also: All tests for this plugin, How to Hide the "TikTok" Admin Menu