Tagged: logo svg
Hi,
we’ve experienced a severe bug that pervents loading of the site. The whole page including admin is broken. After many experiments with deactivation plugins and themes it turns out that a missing svg logo has led to this.
To reproduce it just go to Enfold > Theme Options and set a svg as the logo and save options. Now delete the logo or just simple change the url of the logo a bit so that it is false. Now hit save options again and the whole site instantly crashes. To get it running again you have to restore the datebase.
Tested in 5.6.5 and 5.6.6.
I propose that the logo url should be validated prior to the enfold / dynamic avia (?) build process.
Regards
Ansgar
Hey aixhibitag,
Thank you for using Enfold and reporting this.
For next release I added a timeout to the curl options when reading the svg file.
This fixed it on my dev site. I tested it with attachment ID -> missing file and adding wrong url.
If you want to check it replace enfold\framework\php\class-svg-images.php with the content of
Best regards,
Günter