Home › Forums › WoodMart support forum › PHP notices header already sent › Reply To: PHP notices header already sent
October 3, 2019 at 12:53 pm
#148265
metuza
Participant
Sorry, forgot to mention that also this line:
if( ! function_exists( 'WC' ) ) return;
Needs to be changed to this:
if( ! is_shop() || ! function_exists( 'WC' ) ) return;
To avoid possible unconditional fatal errors.
Brgds
Rune