Warning: “Division by Zero”
-
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?
-
-
Sent via Chat!
Thanks in advance!
-
-
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…
-
-
Please update lay theme, this is fixed now :D.
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