@anonymous-piwik-user opened this Issue on October 22nd 2010

SEO Plugin throws this messages (Used URL is changed to OURURL and path to piwik dir is made relativ to hide privates):

Notice: Trying to get property of non-object in piwik/plugins/SEO/RankChecker.php on line 57

Backtrace -->
#0 Piwik_ErrorHandler(8, Trying to get property of non-object, piwik/plugins/SEO/RankChecker.php, 57, Array ([=> OURURL,xml => )) called at [piwik/plugins/SEO/RankChecker.php:57]
#1 Piwik_SEO_RankChecker->getAlexaRank() called at [piwik/plugins/SEO/API.php:63]
#2 Piwik_SEO_API->getRank(OURURL) called at [piwik/plugins/SEO/Controller.php:28]
#3 Piwik_SEO_Controller->getRank()
#4 call_user_func_array(Array ([=> Piwik_SEO_Controller Object ( => SEO,[=> 2010-10-22, => Piwik_Date Object ([=> 1287705600, => UTC),[=> 3, => Piwik_Site Object ([=> 3)),1 => getRank), Array ()) called at [piwik/core/FrontController.php:126]
#5 Piwik_FrontController->dispatch() called at [piwik/index.php:60]

Notice: Trying to get property of non-object in piwik/plugins/SEO/RankChecker.php on line 57

Backtrace -->
#0 Piwik_ErrorHandler(8, Trying to get property of non-object, piwik/plugins/SEO/RankChecker.php, 57, Array ([=> OURURL,xml => )) called at [piwik/plugins/SEO/RankChecker.php:57]
#1 Piwik_SEO_RankChecker->getAlexaRank() called at [piwik/plugins/SEO/API.php:63]
#2 Piwik_SEO_API->getRank(OURURL) called at [piwik/plugins/SEO/Controller.php:28]
#3 Piwik_SEO_Controller->getRank()
#4 call_user_func_array(Array ([=> Piwik_SEO_Controller Object ( => SEO,[=> 2010-10-22, => Piwik_Date Object ([=> 1287705600, => UTC),[=> 3, => Piwik_Site Object ([=> 3)),1 => getRank), Array ()) called at [piwik/core/FrontController.php:126]
#5 Piwik_FrontController->dispatch() called at [piwik/index.php:60]

@anonymous-piwik-user commented on October 22nd 2010

A, I think it's because some of the values are null or can not be obtained (like website is not monitored by alexa).

@robocoder commented on October 22nd 2010 Contributor

Already fixed in trunk.

This Issue was closed on October 22nd 2010
Powered by GitHub Issue Mirror