Home Forums Jevelin Theme Warning: A non-numeric value encountered Reply To: Warning: A non-numeric value encountered

Home Forums Jevelin Theme Warning: A non-numeric value encountered Reply To: Warning: A non-numeric value encountered

Hi support,

 

Thanks for your reply! With all due respect, a theme that generates any type of errors is something to worry about ­čÖé

 

WP_DEBUG is set to false, but the server is set to report errors when it encounters them, like it should in my opinion.

 

The error is caused by the fact that in /inc/helpers.php the function jevelin_logo_height() returns a string (either something like ’50px’ or ‘auto’) and then/inc/templates/render_css.php on line 44┬átries to add 30 pixels to that string, which isn’t allowed/possible.

 

I consider this a genuine bug and would love to see it fixed, instead of me changing my server settings to hide the error or having to hack the theme files to fix it myself (and run into trouble when updating).

 

Can you please help me with that?

 

Thanks!