Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Undefined index error

Discussion in 'Misc WordPress Requests' started by gleite, Nov 5, 2017.

  1. gleite

    Guest

    Reply To: Undefined index error, by gleite

    Hello, mine is version 4.3.13 and keeps returning the following message:

    Notice: Undefined index: url in /websites/ha/haiderengineering.com.au/wp-content/themes/enhenyero/header.php on line 74

    I wetn to line 74, but could not find the problem. This is the “whole code” for that problem. Line 74 is the one where the “if” starts. How can I fix this?

    <div class=”col-sm-4 col-md-4″>
    <div class=”navbar-header”>
    <?php
    if( IsNullOrEmptyString( $ert_option[‘opt_site_logo’][‘url’] ) && $ert_option[‘opt_logo_select’] == ‘2’ ):
    ?>
    ” class=”navbar-brand image-logo”>” alt=””/>
    <?php
    else:
    ?>
    “><?php echo get_bloginfo(‘title’); ?>
    <?php
    endif;
    ?>
    </div>
    </div>

    Thanks on advance.

    Reply To: Undefined index error
     
    #1

Share This Page

Web Hosting