PHP警告:遇到非数字值 - 标题

I am getting this warning from my hosts's logfile.

$header_top_padding_height   = ( ( $cg_logo_height ) + ( $cg_padding_above_logo ) );
$header_total_height        = ( ( $cg_logo_height ) + ( $cg_padding_above_logo ) + ( $cg_padding_below_logo ) );

Code picture

Would be absolutely thankful if anyone could give me a tiny hint! Thank you so much in advance!

Not sure what values your variables are getting but you can always cast them to be an integer if you're unsure.

$header_top_padding_height = ( (int)( $cg_logo_height ) + (int)( $cg_padding_above_logo ) );