• As I try and edit my WooCommerce shop’s homepage, I get the following error message:

    Fatal error: Uncaught Error: Call to a member function get_cart() on null in /home/customer/www/workgadgets.ph/public_html/wp-content/plugins/tiktok-for-woocommerce/pixel/Tt4b_Pixel_Class.php:220 Stack trace: #0 /home/customer/www/workgadgets.ph/public_html/wp-includes/class-wp-hook.php(324): Tt4b_Pixel_Class::inject_initiate_checkout_event(”) #1 /home/customer/www/workgadgets.ph/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #2 /home/customer/www/workgadgets.ph/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/customer/www/workgadgets.ph/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/Checkout.php(375): do_action(‘woocommerce_blo…’) #4 /home/customer/www/workgadgets.ph/public_html/wp-content/plugins/woocommerce/src/Blocks/BlockTypes/AbstractBlock.php(109): Automattic\WooCommerce\Blocks\BlockTypes\Checkout->enqueue_data() #5 /home/customer/www/workgadgets.ph/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\BlockTy in /home/customer/www/workgadgets.ph/public_html/wp-content/plugins/tiktok-for-woocommerce/pixel/Tt4b_Pixel_Class.php on line 220

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about troubleshooting WordPress.

    https://workgadgets.ph/wp-admin/post.php?post=26&action=edit

    Please help

Viewing 3 replies - 1 through 3 (of 3 total)
  • We are also seeing exactly the same error – no pages can be edited. This is very urgent and we have had to disble the plugin.

    Same.

    Updating to the most recent plugin version seems to fix it.

    • This reply was modified 7 months, 3 weeks ago by Jake Whiteley.
    Plugin Contributor TikTok

    (@tiktokforbusiness)

    We apologize for the difficulties you’re experiencing! Could you kindly submit a?support ticket? Our support team will follow up for further assistance. Please use your TikTok For Business credentials to log in and track your tickets. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: cannot edit homepage’ is closed to new replies.