Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1435926

    Hello,
    When I try to upload a font Zip, an error pops up: “Couldn’t add the font because the server didn’t respond”.
    There is a php error in the error log.
    Please help us to solve with this issue.

    [29-Feb-2024 11:34:35 UTC] PHP Fatal error: Uncaught Error: Call to a member function attributes() on null in /home/user/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-font-manager.php:336
    Stack trace:
    #0 /home/user/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-font-manager.php(162): avia_font_manager->create_config()
    #1 /home/user/public_html/wp-includes/class-wp-hook.php(324): avia_font_manager->handler_add_zipped_font(”)
    #2 /home/user/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #3 /home/user/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home/user/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_avia_aj…’)
    #5 {main}
    thrown in /home/user/public_html/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-font-manager.php on line 336

    #1436047

    Hey mannye,
    This could be due to the structure of the files inside of the font zip file, please link to the zip you are using so we can test on our demo.

    Best regards,
    Mike

    #1436295

    Hi Mike,
    Thanks for the reply.
    The link to the zip is in the private content.

    Thank you,

    #1436316

    Hi,
    Thanks but I can not download the file as it requires a Google login, please make it available to everyone or try DropBox.

    Best regards,
    Mike

    #1436319

    Hi Mike,
    I’m sorry for the inconvenience.
    Please try this link.

    #1436341

    Hi,

    Thank you for the link.

    The zip file contains svg files, which are not recognized by the Iconfont Manager. You need to obtain the zip file from Fontello or Flaticon. If you have a custom svg icon that you wish to convert to an iconfont, you can use the converter on Fontello.com before downloading the zip file.

    Please check the documentation for more info: https://kriesi.at/documentation/enfold/icon/#adding-your-own-fontello-or-flaticon-icons-

    Best regards,
    Ismael

    #1436417

    Hi,
    From what I understood, we cannot use icons from Flaticon unless we have a paid account? Because with a free account, we can only download png…

    We appreciate you being patient with us and giving us the support we need.
    Thank you!

    #1436424

    Hi,
    It looks like Flaticon doesn’t offer the iconfont format that the theme uses, perhaps it is a paid oprion now I don’t know, Fontello offers th correct format for free and you can convert your SVG icons to the correct iconfont format for free.
    Please see this thread for preparing SVG images for fontello and then upload them to fontello:
    converting_SVG_on_Fontello_to_create_a_icon-font.png

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.