A non-numeric value encountered

I use Query Monitor and it comes up with the following:


Level: Warning


Message: A non-numeric value encountered


Count: 2


Locations:

wp-content/themes/betheme/style.php:270

wp-content/themes/betheme/style.php:378

wp-content/themes/betheme/style.php:486


Component: Parent Theme


I tried re-uploading the parent theme files and also tried with no plugins activated and that does not solve the issue. Fwiw: a new installation.

Comments

  • Hi,

    Sorry, but we did not test Query Monitor plugin with the theme. Our policy states that we do not support third party plugins or custom code so unfortunately, we cannot be of any help to you.

    Also, we cannot recommend any plugins other than the ones we support. You can find the list on this page, in the sidebar:

    https://themeforest.net/item/betheme-responsive-multipurpose-wordpress-theme/7758048

    thanks

  • Hi Phil,

    I understand the policy regarding third party plugins but this one is used to detect issues with Wordpress, themes and plugins.

    So this is not an incompatibility thing or so, the plugin detected a potential issue which is apparently present in the Betheme parent theme.

  • Anyway, we have never tested this plugin with our theme, and we do not know how it works, and what is most imporant, if it works well with Betheme.

    Sorry, but we are not able to solve this problem.

    But if you have any other question feel free to ask.


    Best regards

  • So there is no on-numeric value encountered at one of the following locations, correct?

    Locations:

    wp-content/themes/betheme/style.php:270

    wp-content/themes/betheme/style.php:378

    wp-content/themes/betheme/style.php:486


    Maybe. a false positive?

  • There could be, because this file is loading the CSS styles, so sometimes, it has to fetch some non-numeric values (like font-family value).

    That's why, we do not trust and we do not suggest to use that kind of plugins, because they are not universal for all of the themes.

    Thanks

  • Aha, thanks for explaining Pablo!

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.