• Resolved thePleasurePrincess

    (@thepleasureprincess)


    SearchIQ (Version 1.5.4) has been working perfectly until today. Now the input box has the following text:

    <br /><b>Noticej</b>: Undefined variable: search_string in <b>/home/joyjoygi/public_html/wp-content/themes/affinity-child/components/navigation/navigation-top.php</b> on line <b>7</b><br />

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author SearchIQ

    (@searchiq)

    thanks. We will take a look at that.

    ray

    Plugin Author SearchIQ

    (@searchiq)

    but from the message, it looks like coming from the theme php page. Did you customize it to fit searchIQ?

    Thread Starter thePleasurePrincess

    (@thepleasureprincess)

    Nothing on the site has been changed for days. Before that, only posts. The last time any theme page code changes were made was close to a year ago.

    Your SerachIQ plugin has been working for months, fantastically and flawlessly!

    If it helps, here is the entire navigation-top.php code:

    <nav id=”site-navigation” class=”main-navigation” role=”navigation”>
    <button class=”menu-toggle” aria-controls=”top-menu” aria-expanded=”false”><?php esc_html_e( ‘Menu’, ‘affinity’ ); ?></button>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘top’, ‘menu_id’ => ‘top-menu’ ) ); ?>
    </nav><!– #site-navigation –>
    <div class=”search-content container”>
    <form action=”<?php echo home_url(); ?>” method=”get” class=”my-search”>
    <input type=”text” name=”s” class=”<?php echo $class; ?>” value=”<?php echo $search_string; ?>” placeholder=”<?php echo __(‘Search’, ‘affinity’); ?>”/>
    </form>
    </div>

    Plugin Author SearchIQ

    (@searchiq)

    email us your domain name so we can go test against your site.
    our email is [email protected]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Serach box contains Undefined variable error text’ is closed to new replies.