New Support System Updates Breaks my title tags!!

I updated to the new version of Support System today. Shortly after updating, I realized my title tags were jacked up. Here's an example:

<title><br/>
<b>Warning</b>: Missing argument 2 for Incsub_Support_Query::set_wp_title() in <b>/home/timstrif/public_html/wp-content/plugins/incsub-support/inc/classes/class-query.php</b> on line <b>144</b><br/>
Wedding Website Features</title>

This is not okay. Plugin updates need to be tested before implemented to members.

Please fix ASAP.

  • Ash

    Hello @timstrifler

    I hope you are well today and thanks for asking the question.

    Would you please go to /plugins/incsub-support/inc/classes/class-query.php line no 144 and replace:

    public function set_wp_title( $title, $sep ) {
    		if ( $this->is_single_ticket ) {
    			$title .= ' ' . $sep . ' ' . $this->ticket->title ;
    		}
    
    		return $title;
    	}

    with

    public function set_wp_title( $title, $sep = "" ) {
    		if( $sep != '' ){
    			if ( $this->is_single_ticket ) {
    				$title .= ' ' . $sep . ' ' . $this->ticket->title ;
    			}
    		}
    
    		return $title;
    	}

    I am letting the developer know about this error.

    Cheers
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.