Array Key Error after 2.6.1 Update

[ad_1]

After updating the plugin from version 2.5.9 to 2.6.1, I am receiving an error in our error tracking software. The error is as follows:

Undefined array key "mode"

The error is caused by line 2359 in /modules/woo-filters/mod.php


public function render( $params ) {

		$p = array(

			'id' => ( isset($params['id']) ? (int) $params['id'] : 0 ),

			'mode' => ( 'widget' == $params['mode'] ? 'widget' : '' ),

		);

		return $this->getView()->renderHtml( $p );

	}

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer