• I get a lot of php notices in my debug log that links back to user-switching emptying and re-loading the cart. Apparently something is a bit our of order here.

    I’m not sure if the issue is on the user-switching side or the WC side.

    >
    PHP Notice: get_cart was called incorrectly. Get cart should not be called before the wp_loaded action.

Viewing 1 replies (of 1 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks for the report. Do you have the complete error message to show me, including the file name and line number?

    What’s the version number of WooCommerce that are you using?

Viewing 1 replies (of 1 total)
  • The topic ‘Get cart should not be called before the wp_loaded action’ is closed to new replies.