• 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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor TikTok

    (@tiktokforbusiness)

    @danielbmxd – Thank you for reporting this issue. I will review your logs with the product team and follow up if we have any questions or follow up actions.

    In the meantime can you let us know what version of WordPress and WooCommerce you are using?

    Thread Starter danielbmxd

    (@danielbmxd)

    6.1.1 and 7.3.0

    Plugin Contributor TikTok

    (@tiktokforbusiness)

    @danielbmxd – Thank you for the detailed error report – our team just released an updated version of the TikTok for WooCommerce Plugin that should resolve this issue.

    Please update to use the latest version of the Plugin (V1.0.15) and let us know if you are still experiencing this issue. If this issue is resolved please mark this ticket as resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘TikTok Plugin Critical Error’ is closed to new replies.