Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1471520

    Hi,
    Depricated function error suddenly showing in front end header of https://www.hearapukeruabay.nz/:

    Deprecated: Function wp_targeted_link_rel is deprecated since version 6.7.0 with no alternative available. in /home/hearapu/public_html/wp-includes/functions.php on line 6114

    Deprecated: Function wp_targeted_link_rel_callback is deprecated since version 6.7.0 with no alternative available. in /home/hearapu/public_html/wp-includes/functions.php on line 6114

    I have never seen this in over 30 installs of Enfold over many years.

    Everything is up to date and debugging is turned off in Enfold. At my host’s suggestion, I used a plug-in to see where the errors are – apparently Enfold. See screenshots.

    So 2 questions – how do I get rid of these from the front end and what needs to be done – is there an issue to fix?

    Thanks,
    Anne

    #1471523

    Hey Anne,

    Thank you for the inquiry.

    You may need to update the theme to the latest version to remove the notification. Please note that this warning is not critical and will not affect the site in any way. If you prefer, you can hide it by setting WP_DEBUG_DISPLAY to false in your wp-config.php file.

    // https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/#wp_debug_display

    Best regards,
    Ismael

    #1471551

    Hi, thanks for your quick reply.
    Our install of Enfold is the latest version 6.0.6. My client is not very happy about seeing this on the site even if not critical. Is there no way to fix the issue?
    I don’t usually touch the wp-config.php files and I’m not using a child theme – so wouldn’t I have to keep adding the debug setting?
    Thanks,
    Anne

    #1471566

    Hi,

    That file is a default WordPress file, it won’t be overwritten on updates. Note that the notices are not pointing to any theme files, it might be caused by an old PHP version or a plugin.

    Best regards,
    Rikard

    #1471610

    Hi,
    thanks for explaining that – not an area I know about. I had made sure the PHP version was recent. I have now used a plug-in to hide the warnings so all looks good. If the warning is not critical and no action is required re Enfold I will leave it. You can mark as sorted.
    Thanks again for your ongoing support and your wonderful theme which I continue to use exclusively!
    Anne

    #1471634

    Hi,

    Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Depricated function errors showing in front end’ is closed to new replies.