Home › Forums › WoodMart support forum › PHP notices header already sent › Reply To: PHP notices header already sent
October 2, 2019 at 2:51 pm
#148102
metuza
Participant
Changed the above mentioned action:
add_action( 'woodmart_before_shop_page', 'woodmart_set_customer_session', 10 );
to
add_action( 'woocommerce_init', 'woodmart_set_customer_session' );
and everything seems to work just fine, no php notices, and user session is set and ok.