Division by zero

More
11 months 2 weeks ago #84721 by lipatovroman
Hello!
I can't edit existing item. 
When I trying to open this item in backend I'm getting this error:


Also, I'm getting error report on my email:
Error Code    0
Error Type    DivisionByZeroError
Message    Division by zero
File    /var/www/site/data/www/site.com/administrator/components/com_flexicontent/models/parentclassitem.php
Line    4270
Protocol    https
Host    biblsoft.com
Request    /administrator/index.php?option=com_flexicontent&task=item.edit&view=item&id=2412
Referrer    /administrator/index.php?option=com_flexicontent&view=items
Method    GET

Please Log in or Create an account to join the conversation.

More
11 months 2 weeks ago - 11 months 2 weeks ago #84722 by lipatovroman
Replied by lipatovroman on topic Division by zero
Ok, I found the reason.
This error appears if item have zero votes.
So, I edited _content_rating in database and added 1 votes.
After that it's ok. But it should be fixed.
Last edit: 11 months 2 weeks ago by lipatovroman.

Please Log in or Create an account to join the conversation.

More
11 months 2 weeks ago #84725 by micker
Replied by micker on topic Division by zero
can you open an issue on github and explainmore context to reproduce it ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.931 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline