Avada Forums Community Forum A non-numeric value encountered in […] /class-avada-layout.php on line 796

Tagged: 

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

    Hi all!

    Our website has been running without any issues for years. But suddenly, we are experiencing a bug on multiple pages with the error message

    Warning: A non-numeric value encountered in /homepages/26/d32356424/htdocs/clickandbuilds/FriendsTLF/wp-content/themes/Avada/includes/class-avada-layout.php on line 796

    The error pops up e. g. on:
    https://friends-tlf.de/herbsttreffen-2021/
    https://friends-tlf.de/unsere-neuen-sued-nord-freiwilligen-sind-angekommen/
    https://friends-tlf.de/oktobertreffen-im-november-2/

    Obviously, it seems that there’s an issue in class-avada-layout.php. Line 796 is part of if “dual sidebar” section:
    self::$content_width = $site_width - $sidebar_1_width - $sidebar_2_width - $gutter;

    Could you please help?

    nikboe09
    Participant
    Post count: 4

    Fixed: The issue was that the “single sidebar” option in the theme options didn’t contain any value. Assigning a value solved it.

    Maybe this helps someone else here 🙂

    Cheers!

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