CRITICAL Uncaught Error: Call to a member function get_cart() on null
-
Getting this error when tries to access rest Pages/Posts APIs and when per_page is greater than a specific value.
https://xyz.com/wp-json/wp/v2/pages?per_page=13 Works fine
https://xyz.com/wp-json/wp/v2/pages?per_page=14 Gives following error for any value above 14.
CRITICAL Uncaught Error: Call to a member function get_cart() on null in /home/wplive/web/wp-live/wp-content/plugins/jetpack/modules/woocommerce-analytics/classes/class-jetpack-woocommerce-analytics-universal.php:250
Stack trace:
#0 /home/wplive/web/wp-live/wp-includes/class-wp-hook.php(292): Jetpack_WooCommerce_Analytics_Universal->checkout_process(”)
#1 /home/wplive/web/wp-live/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
- The topic ‘CRITICAL Uncaught Error: Call to a member function get_cart() on null’ is closed to new replies.