Tagged: Depricated function errors, front end
-
AuthorPosts
-
November 18, 2024 at 12:04 am #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,
AnneNovember 18, 2024 at 7:32 am #1471523Hey 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,
IsmaelNovember 18, 2024 at 10:51 am #1471551Hi, 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,
AnneNovember 18, 2024 at 1:06 pm #1471566Hi,
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,
RikardNovember 18, 2024 at 11:38 pm #1471610Hi,
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!
AnneNovember 19, 2024 at 12:20 pm #1471634Hi,
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 -
AuthorPosts
- The topic ‘Depricated function errors showing in front end’ is closed to new replies.