Avada Forums Community Forum Warning: “A non-numeric value encountered” on 0 search results page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • hhbwb
    Post count: 5

    When some makes a search on our site fore a keyword that cannot be found the “oops!” page shows errors.

    Example https://www.lvbhb.nl/?s=hadjememaar

    Warning: A non-numeric value encountered in /home/lvbhb/public_html/wp-content/themes/Avada/search.php on line 60 and the same for lines 61 and 62

    Are these values I can set myself? Where? This emerged just recently and I’m not aware that I changed any values.

    WP 5.9.3 Avada 7.7.1 fully patched.

    Ammar. S
    Post count: 2440

    Hello There

    Can you please double check the menu that is assigned to 404 page in this case?
    Please check all your menu items and make sure there are no broken menu items there.



    Post count: 5

    I would not know where to find this 404 page. To me it looks like it is not a normal page, but something that is being generated when your search has zero results. Is there menu assigned to that?

    If the search does have results, there are no warnings about non-numeric values in search.php. Example: https://www.lvbhb.nl/?s=tjalk

    The normal 404 page, which you get when trying to open a non existing URL does not produce an error. Example:
    The dotted list under Usefull links looks a bit weird though.

    Post count: 5

    After some hours more research I discovered that Avada is using get( 'checklist_item_size' ) for the calculation of the icon size for the “useful links’ list. But the Checklist element never was enabled on our site under Avada Builder Options. Enabling it makes the error go away.

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