Viewing 19 posts - 1 through 19 (of 19 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 4 weeks 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.

    #1487269

    Hi,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1487271

    thanks. please see private

    #1487285

    Hi,

    Thanks for that. The Appearance->Theme File editor is turned off on your installation, so we cannot check your child theme code. Please turn that on, or share FTP login details with us as well.

    Best regards,
    Rikard

    #1487286

    okay. please see below.
    If you need me to turn something on/off, please provide me with the specific folder location and file name (and thing that I need to edit). :-)

    #1487293

    Hi,

    Thanks for that. I see that you are overriding iconbox.php and iconlist.php in the shortcodes folder in your child. What happens if you temporarily remove those files?

    Best regards,
    Rikard

    #1487315

    I don’t recall having added that folder and 2 files in enfold-child. But when I hide the folder, the warning notice goes away at the top of the page.
    However, I’m seeing a warning notice below the footer (that I had not seen before) (see screenshot):
    Notice: ob_end_flush(): Failed to send buffer of zlib output compression (0) in /home/dotorgw1/public_html/wp-includes/functions.php on line 5471

    Notice: ob_end_flush(): Failed to send buffer of zlib output compression (0) in /home/dotorgw1/public_html/wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 107

    In the footer area, colummn 1, I had an icon list there which was generated using the “insert theme shortcodes” tool within the toolbar options. The iconlist still views, but above it is an error message. (See private for screenshot view).

    #1487352

    Hi,

    Thanks for the update. If you don’t need the files in question, then they can be deleted. The notices in your last post don’t seem to be theme related, but might be due to something else in your child theme. You can activate the parent theme to check if everything goes away after that.

    Best regards,
    Rikard

    #1487364

    Hi. I may have resoved it.
    After turning off all of the plugins (no change) and turning them back on I Google the problem again and found the solution at:

    https://wordpress.org/support/topic/ob_end_flush-failed-to-send-buffer-of-zlib-output-compression-1-2/

    I no longer have errors at the footer.

    Thanks for your help.

    #1487385

    Hi,

    Great, I’m glad to hear that you found a solution. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1488397

    Hello again,

    I have the same problem as above with another website (please see private). [Since the problem is very similar, I thought not to create a new ticket, but continue on this one. If not okay, I’ll re-post.]

    After reviewing the above solution which we had used, which was to “deactivate the shortcodes folder in the child” I found that my Child theme has no “short codes” folder. So, that solution is not available. Also, when you go to the very bottom of the page where the “up arrow” is, you’ll see no arrow, but the error message “depreciated function” which is not an icon I have altered. So, before I delete the previously loaded icon fonts (managed in: Theme Options > SVG Iconset and Iconfont Manager) I’d like to make sure that I’m taking the right course of action.
    I have provided you with Administrator privalages in Private to access the WordPress site.

    Thanks much!

    #1488408

    Hi,

    Thanks for the update. I’m not able to login to your site:

    Error: Cookies are blocked due to unexpected output. For help, please see this documentation or try the support forums.

    Did you try temporarily deactivating all plugins and/or custom code? Also make sure that front end debugging is turned off on your installation: https://wordpress.org/support/article/debugging-in-wordpress/

    Best regards,
    Rikard

    #1488409

    Hi Rikard,
    Sorry about the logging-in issue. There’s a problem with one of the plugins and it was messing with getting into wp-admin. Anyway, it’s now working.
    As for deactivating all of the plugins, that I did. It resolved the problem with a couple of bad plugins, but not the issue of the icon (bottom right corner up arrow):
    PHP Deprecated: Function avia_font_manager::frontend_icon is deprecated since version 7.0! Use Use avia_font_manager::get_frontend_icon instead instead. in /home/hivconfe/public_html/wp-includes/functions.php on line 6121

    I deactivated the Child styles and that didn’t resolve anything either.

    I had gone into the wp-config file and turned debug to “true” to see what are the existing issues. It’s still turned on. I can turn it off if you advise.

    • This reply was modified 19 hours, 41 minutes ago by laptophobo.
Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.