[SOLVED] SVG outputs "An image could not be created from the given input"

Permalink
version 8.x

When I putted image block with SVG I got error "An image could not be created from the given input". In effect all CMS pages was blocked. I did restore database, but I lost huge amount of work. After few hours of searching answer nothing helped. So I started investigate database and I droped collections versions, block and nothing. In 'Blocks' table are stored bID (block ID) and btID (block type), so I found btID=27 is imageblock, bID found in 'CollectionVersionBlocks' where cID (collection ID, your page) and arHandle (name of area).

This peace of sql code fixing all 0 to 1, and no more blocked page.

UPDATE `FileImageThumbnailPaths` SET isBuilt=1 WHERE isBuilt=0

onemhz
 
Mnkras replied on at Permalink Reply
Mnkras
This is a fixed in the next version of concrete5
ob7dev replied on at Permalink Reply
ob7dev
How do I fix it in a website that is crashing because of the error after its been running for years?