- This topic has 1 reply, 2 voices, and was last updated 6 months ago by .
- You must be logged in to reply to this topic.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Tagged: Deprecated error
I am not able to reach the guy who built my website so I am hopeful that I can find some help in this forum.
Yesterday the following text began appearing in the header of my site. "Deprecated: genesis_structural_wrap was called with an argument that is deprecated since version 2.7.0! Use
genesis_get_structural_wrap() instead. in /home4/diamond8/public_html/wp-includes/functions.php on line 5495"
This text appears twice on every page.
Another, similar line of text "Deprecated: genesis_search_form is deprecated since version 2.7.0! Use get_search_form() instead. in /home4/diamond8/public_html/wp-includes/functions.php on line 5211" also appears in the top of the headder.
Does anyone know how to stop this text from appearing?
Thanks in advance for any help you can provide.https://www.diamond-safety.com
You have code in functions.php that is calling a Genesis function that is no longer current. Did something recently get updated on your site?
Whatever the case, you may have to update your theme, if you're using one designed for a deprecated version of Genesis. If the error in functions.php is coming from custom code that the website builder created, then you need a developer to help correct the problem.
© 2022 WPEngine, Inc.