Recent Topics

1 Sep 22, 2011 23:44    

My b2evolution Version: 4.x

Everything installed okay, but at the login screen (and at the top of the dashboard after logging in) is the following error notice:

Notice: Undefined property: stdClass::$crawler in C:\Inetpub\vhosts\dayheating.com\httpdocs\blog\blogs\inc\sessions\model\_hit.class.php on line 563

Here is line 563 from the file listed:

if( ! $match && ($browscap = $this->get_browser_caps()) && $browscap->crawler)

Any ideas?

Jim

2 Sep 27, 2011 14:31

Welcome to the forums!

Please try this fix

if( ! $match && ($browscap = $this->get_browser_caps()) )
{
	if( isset($browscap->crawler) && $browscap->crawler )
	{
		$Debuglog->add( 'Hit:detect_useragent(): robot (through browscap)', 'request' );
		$this->agent_type = 'robot';
	}
}

3 Sep 27, 2011 22:31

BINGO!
That seems to have done it, plus the load speed of the blog is now about 1/10 of what it was.

Thank you, thank you, thank you!

4 Sep 27, 2011 23:03

No problem! Thanks for catching the bug.

6 Jan 05, 2012 23:48

Same problem here, thank you!


Form is loading...