Division by zero error
This support request was posted in Netelier by dkat1043
- dkat1043 March 6, 2015 at 6:35 pm
I see that someone talked about this a while ago, but I don’t see a solution. I am getting a “division by zero” PHP warning each time Netelier runs. The error reads: mod_fcgid: stderr: PHP Warning: Division by zero in [my home directory]wp-content/themes/netelier/template-home.php on line 161. Note that I have put [my home directory in place of my actual one]. Can you please tell me how to fix this? Thanks.
DanJuanfra Aldasoro March 6, 2015 at 6:47 pm
Thanks for writing.
Would you please tell me what version of Netelier are you running? You can check the version number in the “Appearance > Themes” section.
Juan.dkat1043 March 6, 2015 at 6:48 pm
Thanks, Juan. It’s 1.0.5.Juanfra Aldasoro March 6, 2015 at 7:04 pm
I’d recommend you to update to the latest version (1.0.8 http://updates.nicethemes.com/themes/netelier/changelog.txt) and check if the notice problem is fixed.
Also, did you save the options in the options panel?
Juan.dkat1043 March 6, 2015 at 9:02 pm
I upgraded to 1.0.8, and saved the options. I’m still getting the error, although now it refers to line 180 instead of line 161. Line 180 reads ` <li id="post-” class=””>`
Dandkat1043 March 6, 2015 at 9:04 pm
There’s more to line 180, but it got removed from my post. . It’s template-home.php, line 180.
You must be logged in to reply to this topic.