NiceThemesDivision by zero error – NiceThemes http://nicethemeswp.com/forums/topic/division-by-zero-error/feed/ Wed, 23 Apr 2025 15:27:50 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5411 <![CDATA[Division by zero error]]> http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5411 Fri, 06 Mar 2015 18:35:59 +0000 dkat1043 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.
Dan

]]>
http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5414 <![CDATA[Reply To: Division by zero error]]> http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5414 Fri, 06 Mar 2015 18:47:20 +0000 Juanfra Aldasoro Hi 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.

]]>
http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5415 <![CDATA[Reply To: Division by zero error]]> http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5415 Fri, 06 Mar 2015 18:48:47 +0000 dkat1043 Thanks, Juan. It’s 1.0.5.

]]>
http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5416 <![CDATA[Reply To: Division by zero error]]> http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5416 Fri, 06 Mar 2015 19:04:29 +0000 Juanfra Aldasoro Hi Dan,

I’d recommend you to update to the latest version (1.0.8 http://updates.nicethemeswp.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.

]]>
http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5417 <![CDATA[Reply To: Division by zero error]]> http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5417 Fri, 06 Mar 2015 21:02:42 +0000 dkat1043 Juan,
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.
Dan

]]>
http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5418 <![CDATA[Reply To: Division by zero error]]> http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5418 Fri, 06 Mar 2015 21:04:02 +0000 dkat1043 There’s more to line 180, but it got removed from my post. . It’s template-home.php, line 180.
Dan

]]>
http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5421 <![CDATA[Reply To: Division by zero error]]> http://nicethemeswp.com/forums/topic/division-by-zero-error/#post-5421 Sat, 07 Mar 2015 16:26:54 +0000 Juanfra Aldasoro Hi 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@nicethemeswp.com so I can take a look?

Best,
Juan.

]]>