TikTok Plugin Critical Error
-
The plugin breaks the site and generates the critical error warning. The error_log file shows lines like this:
[13-Jan-2023 19:26:05 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Logger::maybe_output_pixel_data() must be of the type array, string given, called in /home//public_html/wp-content/plugins/tiktok-for-business/logging/Logger.php on line 77 and defined in /home//public_html/wp-content/plugins/tiktok-for-business/logging/Logger.php:88
Stack trace:0 /home//public_html/wp-content/plugins/tiktok-for-business/logging/Logger.php(77): Logger->maybe_output_pixel_data(‘{“partner_name”…’)
1 /home//public_html/wp-content/plugins/tiktok-for-business/mapi/Tt4b_Mapi_Class.php(72): Logger->log_request(‘https://busines…’, Array)
2 /home//public_html/wp-content/plugins/tiktok-for-business/pixel/Tt4b_Pixel_Class.php(169): Tt4b_Mapi_Class->mapi_post(‘pixel/track/’, ‘3cc7a002b8570c6…’, Array)
3 /home//public_html/wp-includes/class-wp-hook.php(308): Tt4b_Pixel_Class::inject_view_content_event(”)
4 /home//public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
5 in /home//public_html/wp-content/plugins/tiktok-for-business/logging/Logger.php on line 88
The version of the plugin with problems is 1.0.14
- The topic ‘TikTok Plugin Critical Error’ is closed to new replies.