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 pmHi Dan,
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.
Best,
Juan.Juanfra Aldasoro March 6, 2015 at 7:04 pmHi Dan,
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?
Best,
Juan.dkat1043 March 6, 2015 at 9:02 pmJuan,
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=””>`
Thanks.
Dandkat1043 March 6, 2015 at 9:04 pmThere’s more to line 180, but it got removed from my post. . It’s template-home.php, line 180.
DanJuanfra Aldasoro March 7, 2015 at 4:26 pmHi Dan,
Thanks, I see. It seems that it is not recognising the variable $columns. Perhaps there’s some code missing.
Would you please send me your FTP access details to support@nicethemes.com so I can take a look?
Best,
Juan.
You must be logged in to reply to this topic.