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!
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.