Home Forums Community Forum A non-numeric value?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • labelsmith
    Participant
    Post count: 4

    The following is appearing at the top of all my web pages, and also when I log into WordPress.

    A non-numeric value encountered in /home/amaurya6/public_html/wp-content/themes/Avada/includes/class-avada-scripts.php on line 1242

    Can anybody explain what I need to do to get rid of this in a simple, non-technically-minded way?

    Thanks in advance

    The website is: http://www.freshairsculpture.com

    Michael C
    Keymaster
    Post count: 527

    Hi @labelsmith,

    Go to Theme Options > Responsive. On this tab, ensure each breakpoint is set to a number. Once they are all set, save the Theme Options. That should then resolve the problem.

    The error indicates that one of the responsive options is not set to a number. For example, it may have been set to a string such as “800px” in an older version of the theme and then recently updated.

    labelsmith
    Participant
    Post count: 4

    Thank you, but unfortunately they are all numbers – not letters or other characters at all…

    Michael C
    Keymaster
    Post count: 527

    Hi,

    They may appear as numbers, but may not be saved as such. If you change the value and then save the Theme Options it should resolve the problem. In particular try changing the – Sidebar Responsive Breakpoint – value and then saving the Theme Options.

    talebest
    Participant
    Post count: 1

    I am having the same problem after importing the Nutritionist website. I did what Michael suggested but i still have the warning. Did you manage to solve? it

    schlossi
    Participant
    Post count: 1

    Me too, I have a bunch of those errors after installing the influencer template.

    https://dieda2.myDS.me/drive/d/s/n7vftp4F7fTdxPayiokguaPnT0ojqxr7/TgUr8EVH7BFJhxP4OBGaqBcajuWFFXpu-N7IgclK6Ogk

    Changing the values and saving did not resolve them

    Ammar. S
    Keymaster
    Post count: 2059

    Hello @schlossi

    Can you please double check that your wp_debug() is not enabled in this case? if it’s enabled please disable it once and check again, also please take a backup of your global options from import / export tab and then reset them once.

    Thanks

    -Ammar

    bluemo126
    Participant
    Post count: 2

    I have the same problem, after importing a demo-page via avada studio. It is from the same demo i used all the time – so no changes happended to theme options i think. But now, I´m getting this error after saving or preview: A non-numeric value encountered in……. Avada/includes/lib/inc/class-fusion-color.php
    on line 1730, 625, 624…

    I tried to reset theme options and imported – no change
    I tried the responsive options – no change

    Someone has found a fix for this?

    Thanks & best regards,
    Moritz

    PS: wp_debug is not enabled/ set 2 false.

    axisware
    Participant
    Post count: 1

    Hi, I had the same error but on line 499

    My fix was to change
    $font_size_number = $base_font_size_number * $font_size_number;

    To
    $font_size_number = ((int)$base_font_size_number * (int)$font_size_number);

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.