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

  1. thomask
    Posted 4 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


  2. Mikko Saari
    Plugin Author

    Posted 4 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

  • Relevanssi - A Better Search
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic