Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1165589

    data-av_icon=”” usually displayed in the DOM of a shared-buttons is broken. Therefore the icon( via :before) will not show up. All other Icons dipay nice – just icons of the share buttons will not displayed.

    What I have already tried to solve this problem:
    – Put this code snippet in .htaccess:

    <FilesMatch ".(ttf|otf|woff)$">
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    </IfModule>
    </FilesMatch> 

    – disabled the child theme
    – disabled all plugins

    Here you can see the failure: https://www.eisexpeditionen.de/test/

    #1165598

    I found the cause and (temporary) solution to this problem (already posted in thread https://kriesi.at/support/topic/social-buttons-broken-with-wp-5-3-1-update/)

    Changes made to the file ‘formatting.php’ in ‘wp-includes’ of the new WP 5.3.1 version are the cause.
    I compared this file via diffchecker.com to the previous WP version and saw some differences to the bits concerning how links with ‘target’ and ‘rel’ should be rewritten. On the left is the new version, on the right the old one: https://www.diffchecker.com/6VKr6jb4

    Look for the changes starting on line 3149. The code in red (on the left) should be replaced with the code in green (on the right). Last line that should be changed is 3222. There are more changes in red starting on line 4903 but don’t touch these or your site will break!

    After I made these changes, the social media icons magically reappeared after reloading.
    Naturally this should be addressed in the next Enfold update, but for now this fix works (for me).

    #1165996

    Hi frankeee,

    Sorry for the problem. We’re working on a release which will fix this problem, it should be available for download by tomorrow. Until then please try to use the temporary fix posted by @jvingerhoets. Thanks for sharing :-)

    Best regards,
    Rikard

    #1166296

    Hi Rikard, thanks a lot for answering!
    Wher can I download the update? On Themeforest I can only download version 4.6.3

    #1166313

    Hi,
    This is due to a file change in WordPress v5.3.1, the dev team has released this fix for the missing icons, please upload the following file via FTP to
    \enfold\framework\php\function-set-avia-frontend.php
    https://www.dropbox.com/s/gmbg5202rjz1vou/function-set-avia-frontend.php?dl=0
    Please save a copy of your old file should you encounter an upload error.
    Then clear your browser cache and any cache plugin, and check.
    This file will be added to the next update also, but for now please use this patch.

    Best regards,
    Mike

    #1166872

    YES – that´s it!
    Thank´s so much!

    #1166879

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘data-av_icon broken’ is closed to new replies.