Home Forums WoodMart support forum PHP notices header already sent Reply To: PHP notices header already sent

#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