• Resolved gpspake

    (@gpspake)


    I’m getting the following errors from SE after upgrading to 3.6.
    This completely breaks the plugin for me and kills all search functionality so I had to deactivate it.
    I might jump in and see if I can resolve some of them if I get some time but, for the time being, here they are…

    Notice: Undefined index: exact in /var/www/html/wp-content/plugins/search-everything/search-everything.php on line 501 
    
    Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /var/www/html/wp-includes/functions.php on line 2871 
    
    Notice: Undefined variable: sentence in /var/www/html/wp-content/plugins/search-everything/search-everything.php on line 516 Notice: Undefined index: exact in /var/www/html/wp-content/plugins/search-everything/search-everything.php on line 533 
    
    Notice: Undefined variable: sentence in /var/www/html/wp-content/plugins/search-everything/search-everything.php on line 546 
    
    Notice: wpdb::escape is deprecated since version 3.6! Use wpdb::prepare() or esc_sql() instead. in /var/www/html/wp-includes/functions.php on line 2871 
    
    Notice: Undefined variable: sentence in /var/www/html/wp-content/plugins/search-everything/search-everything.php on line 561

    https://www.ads-software.com/plugins/search-everything/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I made these changes in plugin version 7 to stop the notices:
    https://www.diffchecker.com/p6oltapz

    The plugin seems to be working after the changes, but I haven’t tested all the features.

    It seems better but I still have error in line 533

    Notice: Undefined index: exact in /www//wp-content/plugins/search-everything/search-everything.php on line 533

    $exact = $this->query_instance->query_vars['exact'];

    Thanks

    Yes I got it

    Replace
    $exact = $this->query_instance->query_vars[‘exact’];
    with
    $exact = isset($this->query_instance->query_vars[‘exact’]) ? $this->query_instance->query_vars[‘exact’] : ”;

    Hope you don’t mind, but since this topic is now older than 2 months, we are going to mark it as ‘resolved’.

    If you find yourself with any other questions or if there’s anything that’s not completely clear, do let us know, since we’ll gladly help!

    Take care & have a nice day!

    Best,
    Silvo

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Looks like the plugin breaks in 3.6’ is closed to new replies.