Forum Replies Created
-
AuthorPosts
-
twgerberMember
I think another contractor probably modified this.
Hmm. Will have to look into this further.
Thx
twgerberMemberHere is the theme code that is the problem
/* CHANGES MADE 3/14/19 */
// Add search to header
// Header Search Function
add_filter( 'genesis_header', 'genesis_header_icon', 10, 2 );
function genesis_header_icon(){ ?>
<div class="custom-search head-custom-search">
<?php echo sprintf( '%s', __( genesis_search_form( $echo ) ) ); ?>
</div>
<div class="header-icons">
<span class="search-box">
<i class="dashicons dashicons-search"></i>
</span>
</div>twgerberMemberThe error is from the server logs.
It's not a PHP version error.
Undefined variable: echo in /eyc18-www/wp-content/themes/executive-pro/functions.php on line 193
PHP Notice: genesis_search_form is deprecated since version 2.7.0! Use get_search_form() instead.
These errors are from theme code.
Please use the right method calls.
I am on the latest versions of this theme. I shouldn't be getting any errors in server log from the theme. Php version is 7.0.33
September 19, 2019 at 6:29 am in reply to: Executive Pro – how to create a page without sidebar? #493635twgerberMemberIt used to be in the middle area.... It looked like three small images. One had no sidebar, one had the sidebar on the right, and one had it on the left. You just clicked on which one you wanted.
twgerberMemberI disabled and still getting Article errors. Will contact Yoast.
Thx
twgerberMemberYes we have yoast. I will disable Genesis and retry
-
AuthorPosts