Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Warning: “Division by Zero”

    Bug Reports
    3
    7
    413
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • edgrbnz
      edgrbnz last edited by

      Hello there!
      I'm getting the following error on a recent setup of laytheme:

      Warning: Division by zero in /kunden/574266_38100/Imeracon19/wp-content/themes/lay/search/search.php on line 57

      Did I do anything wrong with the installation or is this a bug with the newly added search engine?

      ✦ ✦ ✦

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @edgrbnz
        can you send a link to your website?
        We will then have a look.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • edgrbnz
          edgrbnz last edited by

          Sent via Chat!

          Thanks in advance!

          ✦ ✦ ✦

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Dear @edgrbnz
            I just had a look.
            Does the website work without problems?

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • edgrbnz
              edgrbnz last edited by

              Yes the site works without a problem.

              Everytime I create an new, empty page or edit and save the menu the above mentioned division zero warning shows up. It seems to be related with the recently added search feature.

              But the site works…

              ✦ ✦ ✦

              1 Reply Last reply Reply Quote 0
              • mariusjopen
                mariusjopen Global Moderator last edited by

                Dear @edgrbnz
                ok! Cool. Thank you for letting us know!
                We will look into this!

                Best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply Reply Quote 0
                • arminunruh
                  arminunruh Global Moderator last edited by

                  Please update lay theme, this is fixed now :D.

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post

                  Before you post

                  Use the Search Feature. Maybe there is already a solution to your issue.

                  1. Update Lay Theme and all Lay Theme Addons
                  2. Disable all Plugins
                  3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                  4. Now see if your problem solved itself
                  5. Go here, see if your problem is listed here:
                  Troubleshooting

                  When you post:
                  1. Post a link to where the problem is
                  2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                  Thanks!

                  Online Users

                  S
                  M
                  A
                  K
                  F
                  F
                  O
                  Y

                  Recent Topics

                  • K

                    Unable to update lay theme / to login wp admin

                  • S

                    Theme crashed - because of Polylang?

                  • A

                    New button feature not available

                  • A

                    carousel addon not working after update

                  laytheme.com