WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
another error notice (2 posts)

  1. thomask
    Member
    Posted 2 years ago #

    When you add some page to exclude, it then throws this error notice during search:

    Notice: Undefined variable: postex in /var/www/vhosts/money.cz/httpdocs/wp-content/plugins/relevanssi/relevanssi.php on line 1101

    problem is this code

    foreach ($aexpids as $exid){
    				$exid = $wpdb->escape(trim($exid, ' -'));
    				$postex .= " AND doc !='$exid'";
    			}
    
    you should
    ad something like $postex = '' before that foreach

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks, I've added this to my bug tracking list.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic