#58143 closed defect (bug) (invalid)
Deprecated: Function get_page_by_title is deprecated since version 6.2.0!
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Query | Keywords: | |
Focuses: | Cc: |
Description
Hello My site - https://vibrant-technology.com/ is using wordpress theme. I'm currently facing the following issue - Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead. in /home/mywebsite/wp-includes/functions.php on line 5413.
Kindly help me to resolve this issue at the earliest.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hello @twinkle182, welcome to Trac and thanks for the ticket.
This place is for WordPress Core development. Individual support takes place here https://wordpress.org/support/forum/
A function being deprecated does not mean it will not work or cause errors. It means it has flaws that can't be fixed, there are better replacements, and might theoretically be removed some time in the future.
Errors/warnings should never be displayed front end, only to the error log. So there should not be anything critical in this situation.
I quick search gave me this article https://make.wordpress.org/core/2023/03/06/get_page_by_title-deprecated/ If you need more help, please try the forums.
As this is not the right place, I close it as "invalid" (just means not further action here).