Poll Block breaks s...
 
Notifications
Clear all

Poll Block breaks skin

3 Posts
2 Users
0 Reactions
92 Views
(@amalthia)
Posts: 97
Estimable Member
Topic starter
 

Hi,Β 

When I update PHP from 7.4 to 8.2 my skin fails due to my initialized Poll Block.

When I click on options for Poll in the Blocks admin area, I see this error message:

A fatal MySQL error was encountered.
Query: SELECT * FROM fanfiction_poll WHERE poll_end IS NULL OR poll_end = '0000-00-00 00:00:00' ORDER BY poll_id DESC LIMIT 1
Error: (1525) Incorrect DATETIME value: '0000-00-00 00:00:00'

Has anyone else experienced this problem or know how to fix it?

Site: https://amalthia.mediawood.org/ebooks/index.php?skin=Berrygood

On the sidebar you can see "Ebook Poll" however there is no poll associated with the block anymore.Β 

 

I'd appreciate any all help.Β 

Amalthia

 

 


 
Posted : 29/10/2026 6:05 pm
(@ty)
Posts: 37
Admin Admin Registered
 

This should now be fixed in .80


 
Posted : 30/10/2026 10:07 am
(@amalthia)
Posts: 97
Estimable Member
Topic starter
 

Thanks for the fast response! That fixed the problem.Β 

I also ended up deleting my poll from the database and the poll from the index.tpl. But that just masks the problem, updating the php to fix the underlying problem is always the better solution. πŸ™‚Β 


 
Posted : 30/10/2026 12:50 pm
Share: