• Hi,

    We installed the plugin Tik Tok for Woocommerce on our website, but we see an error message in the plugin settings page.

    This conflict only occurs when we enable the smart coupons plugin (https://woocommerce.com/pt-br/products/smart-coupons/).

    This is the error message:

    Fatal error: Uncaught Error: Call to undefined function as_has_scheduled_action() in /home/devbrtpremiumv2b/public_html/wp-content/plugins/tiktok-for-business/mapi/Tt4b_Mapi_Class.php:275 Stack trace: #0 /home/devbrtpremiumv2b/public_html/wp-content/plugins/tiktok-for-business/admin/Tt4b_Menu_Class.php(125): Tt4b_Mapi_Class->fetch_eligibility() #1 /home/devbrtpremiumv2b/public_html/wp-includes/class-wp-hook.php(308): Tt4b_Menu_Class::tt4b_admin_menu_main(”) #2 /home/devbrtpremiumv2b/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #3 /home/devbrtpremiumv2b/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /home/devbrtpremiumv2b/public_html/wp-admin/admin.php(259): do_action(‘marketing_page_…’) #5 {main} thrown in /home/devbrtpremiumv2b/public_html/wp-content/plugins/tiktok-for-business/mapi/Tt4b_Mapi_Class.php on line 275

    ERROR LOG TIKTOK:
    2023-07-05T11:29:38+00:00 DEBUG Tt4b_Menu_Class::tt4b_admin_menu_main: external_data: eyJleHRlcm5hbF9idXNpbmVzc19pZCI6InR0NGJfd29vY29tbWVyY2VfNjQ4MDcyMTc1NmYyYSIsImJ1c2luZXNzX3BsYXRmb3JtIjoiV09PX0N
    PTU1FUkNFIiwibG9jYWxlIjoicHQiLCJ2ZXJzaW9uIjoiMS41IiwidGltZXN0YW1wIjoiMTY4ODU1NjU3ODAwMCIsInRpbWV6b2
    5lIjoiR01ULTM6MDAiLCJjb3VudHJ5X3JlZ2lvbiI6IkJSIiwiZW1haWwiOiJzdXBvcnRlQGJlcnRob2xkby5jb20uYnIiLCJpb
    mR1c3RyeV9pZCI6IjI5MTQwOCIsInN0b3JlX25hbWUiOiJCZXJ0aG9sZG8gUHJlbWl1bSBWMiIsImN1cnJlbmN5IjoiQlJMIiwi
    d2Vic2l0ZV91cmwiOiJodHRwczovL2RldmJydHByZW1pdW12Mi5icnRsb2phLmNvbS5iciIsImRvbWFpbiI6Imh0dHBzOi8vZGV
    2YnJ0cHJlbWl1bXYyLmJydGxvamEuY29tLmJyIiwiYXBwX2lkIjoiNzI0MTkxMzY0NjkxMjExMDU5NCIsInJlZGlyZWN0X3VyaS
    I6Imh0dHBzOi8vZGV2YnJ0cHJlbWl1bXYyLmJydGxvamEuY29tLmJyL3dwLWFkbWluLyIsImhtYWMiOiI0YjA5YjYyODAyZWI5Z
    DU1ZDhkMmQ3N2UyMmJhOGI0NTY0Y2IwY2NmMWU5MmMxYTViOGNhNzc3MzI3M2RlMjA5IiwiY2xvc2VfbWV0aG9kIjoicmVkaXJl
    Y3RfaW5zaWRlX3Rpa3RvayIsImlzX2VtYWlsX3ZlcmlmaWVkIjp0cnVlLCJpc192ZXJpZmllZCI6dHJ1ZSwibmV0X2dtdiI6W3s
    iaW50ZXJ2YWwiOiJMSUZFVElNRSIsIm1pbiI6MCwibWF4IjowLCJ1bml0IjoiQ1VSUkVOQ1kifV0sIm5ldF9vcmRlcl9jb3VudC
    I6W3siaW50ZXJ2YWwiOiJMSUZFVElNRSIsIm1pbiI6MCwibWF4IjowLCJ1bml0IjoiQ09VTlQifV0sInRlbnVyZSI6eyJtaW4iO
    jAsInVuaXQiOiJEQVlTIn0sImV4dHJhX2RhdGEiOiJ7XCJ2ZXJzaW9uXCI6XCIxLjEuMVwifSIsImFkZHJlc3NfMSI6IkF2LiBQ
    cm9mZXNzb3IgTVx1MDBlMXJpbyBXZXJuZWNrLCAyNiIsImFkZHJlc3NfMiI6IiIsImNpdHkiOiJCZWxvIEhvcml6b250ZSIsInN
    0YXRlIjoiIiwiemlwX2NvZGUiOiIzMDQ1NS02MTAifQ==


    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor TikTok

    (@tiktokforbusiness)

    Hi @murphys Thank you for reaching out and apologize for the inconvenience this issue has caused.

    We’ve investigated and believe the Smart Coupons plug-in is creating the issue. Please reach out to the Smart Coupons team for further assistance.

    Thank you,

    The TikTok for Business Team

Viewing 1 replies (of 1 total)

The topic ‘Call to undefined function as_has_scheduled_action()’ is closed to new replies.