Reload Bug: Warning Division by Zero
-
https://hayogebauer.com/about/
I have a bug on my website, that everytime I reload the aboutpage there is this warning:
There's nothing special about this page, except that the sitetitle, menu and navbar are hidden via css
-
Dear Hayo
@Hayo-Gebauer
Thank you for the Bug report - strange indeed.
Could you please make sure for me that the Theme, Addons & PHP version are all up to date?Would love to get this inspected further 🌝
Talk soon Hayo and have a wonderful day, sorry for the current inconvenience on your page.
Sincerely
Richard
-
hey there,
i have a similar error. https://nataliegaspar.de
after deleting a video file used as thumbnail, i get the following
„Warning: Division by zero in /themes/lay/frontend/php/elements/elements/thumbnail.php“ on line 53 or line 71. It seems to be caused by the video_w attribute. the video was deleted with the standard method of wordpress media library. Error is shown independently to which browser I use, may more likely be related to deleted video. Theme and Addons are up to date. -
@nataliegaspar @Richard I've fixed it for now. I simply rebuilt the About page and now the reload bug is gone. It's possible that at one point I was playing with the video background option as well, that may have caused the bug, but I don't know for sure
-
Dear @Hayo-Gebauer
Thank you for the update 🌝
@nataliegaspar Are you still having issue?
Talk soon & best wishes
Richard
-
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it