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

    Hi folks,

    When I turn Debug on I get the following error message (on top of home page, which is at: dotorgwebworks.org):

    Deprecated: Function av_icon is deprecated since version 7.0! Use Use avia_font_manager::get_frontend_icon() instead instead. in /home/dotorgw1/public_html/wp-includes/functions.php on line 6121

    I see that the issue is within the “functions.php” file, the one in wp-includes. Since I’ve never tampered with this file before, I’m seeking your advice.

    Perhaps this error message is telling me that one or more of my icons (e.g.: Fontello) is problematic?

    Any help you can offer would be appreciated. Thanks.

    #1487223

    Hey laptophobo,

    Which PHP version are you using?

    Best regards,
    Rikard

    #1487224

    Hi Rikard,
    It was 8.1. But, I just changed it to 8.3. However, I’m getting the same error message. (I’ll keep debug on for the next hour in case you want to see it: https://dotorgwebworks.org/). If you need login credentials to view, just let me know.

    • This reply was modified 1 day, 4 hours ago by laptophobo.
    #1487233

    Hi,

    Thanks for that. Are you using something related to icons in a child theme?

    Best regards,
    Rikard

    #1487258

    Only in the styles sheet. I checked the functions.php (in Child) but nothing related to icons.
    Here’s what I have on the styles.css:

    section#text-3 .avia-icon-list .iconlist_icon {
    height: 42px;
    width: 42px;
    line-height: 42px;
    font-size: 28px;
    text-align: center;
    border-radius: 500px;
    position: relative;
    float: left;
    margin-right: 30px;
    margin-left: 2px;
    z-index: 5;
    color: #fff;
    }

    section#text-3 .avia-icon-list li {
    margin: 0;
    padding: 0 0 16px 0;
    }

    section#text-3 .avia-icon-list .iconlist-timeline {left: 22px;}
    body.page-id-3453 .av_font_icon {margin-bottom: 20px;}

    #1487259

    but you are loading some fonts – how do you load them. I see f.e. a roboto-slab – this is not inside the default drop-down for available fonts.
    Try to upload those fonts – by using the font-manager.

    i can see this console warning : downloadable font: glyf: empty gid 164 used as component in glyph 165 (font-family: “Roboto Slab” style:normal weight:100..900 stretch:100 src index:0) source: https://fonts.gstatic.com/s/robotoslab/v35/BngMUXZYTXPIvIBgJJSb6ufN5qWr4xCC.woff2

    _____
    a similar Problem?
    btw. : have a look at: https://kriesi.at/support/topic/deprecation-warnings-clogging-up-my-error_log-file/

    #1487261

    Hi Guenni,
    I’m loading the fonts from header.php (child). Such as:
    <link href=”https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap” rel=”stylesheet”>

    However, I deleted the above font/link from header.php and the same error message persists.

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