Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO Plugin: Trying to get property of non-object in #1778

Closed
anonymous-matomo-user opened this issue Oct 22, 2010 · 2 comments
Closed

SEO Plugin: Trying to get property of non-object in #1778

anonymous-matomo-user opened this issue Oct 22, 2010 · 2 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Milestone

Comments

@anonymous-matomo-user
Copy link

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-matomo-user
Copy link
Author

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
Copy link
Contributor

Already fixed in trunk.

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 1.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants