Site logo

Archived topic

Division by zero - Error log file

3 replies · Started by Remez Sasson on June 11, 2017

Viewing posts 1–4 of 4

I found an error log file on my server, which started on May 22 and is still continuing until today, showing the following error over and again:

"PHP Warning: Division by zero in /blog/wp-includes/theme-compat/embed-content.php on line 33"

What does this mean and how to fix it, so as to stop receiving this error message?

Thank you

Hard to tell as it doesn't point to any theme file.

Is the error happening every time you reload your website? If so, I would deactivate your plugins one by one and reload your site to see if it stops happening.

The error does not happen often. The error log file started on May 22, and the error occurred 172 times, but there are thousands of unique visitors each day.

When I look at the pages of the website I see no error.

I don't think that deactivating the plugins would help, since the error does not occur frequently, but only a few times a day.

Hmm, extra difficult to debug then I'm afraid. I haven't had any other reports of this (and my error_log files don't have this error) which leads me to believe it's one of the plugins you're using.

This archived topic is closed to new replies.