Recent Topics

[4.0.3] Notice: Undefined index: makelink (fixed)

Started by on Jan 11, 2011 – Contents updated: Jan 11, 2011

Jan 11, 2011 12:58    

The correct error message:

Notice: Undefined index: makelink in /var/www/web345/html/blogs/plugins/basic_antispam_plugin/_basic_antispam.plugin.php on line 214

I have installed the version 4.0.3. Skin is evopress. Former there was the version 3.3.3 I updated to 4.0.3

Now there is this message with every comment. the old ones too.
What is the reason for this - and how I get it off?

Jan 11, 2011 15:26

I'm seeing the same error message. As a workaround I have changed the function FilterCommentAuthor in my _basic_antispan.plugin.php:

	function FilterCommentAuthor( & $params )
	{
        if (!isset($params['makelink']))
        {
            //If not isset -> set with dummy value
            $params['makelink'] = "undefine";
        } 
		if( ! $params['makelink'] )
		{
			return false;
		}

		$this->apply_nofollow( $params['data'], $params['Comment'] );
	}

Rob


Form is loading...

Content Mangement System – This forum is powered by b2evolution CMS, a complete engine for your website.