Tagged: iconfont
We’re using WP Offload S3 Lite to move all of our media library items off to S3. We enabled one of their settings, “Remove Files From Server” since we have a very large multisite network and it’s necessary.
We haven’t had any issues with files being removed locally before, but we do with the Iconfont Manager in Enfold. After uploading the font zip and trying to selecting it in the Import/Export section of Enfold, it comes back with “Wasn’t able to work with Zip Archive”. I confirmed it’s because it’s trying to find the file locally by disabling that setting and reuploading the zip.
It’s happening in font-manager.class.php:48
$path = realpath( get_attached_file( $attachment['id'] ) );
There aren’t any filters to help us fix it and it doesn’t look like there’s an easy way to modify it in our child theme.
Hey FindlyTalent,
Thank you for using Enfold.
We would like to help you but we are not familiar with the plugin and we don’t usually provide support for third party plugin as stated on our support policy. Maybe there’s a way to exclude the font directory in the plugin from being removed? Please ask the author if that’s possible.
Best regards,
Ismael