Bug?


#1

Whenever I load the main panel after login from fresh install I get this.

Warning: file_get_contents(Analytics Platform – Matomo): failed to open stream: Connection timed out in /var/www/piwik/core/Http.php on line 406

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 file_get_contents(…) called at [/var/www/piwik/core/Http.php:406]
#2 Piwik\Http::sendHttpRequestBy(…) called at [/var/www/piwik/core/Http.php:94]
#3 Piwik\Http::sendHttpRequest(…) called at [/var/www/piwik/core/Http.php:719]
#4 Piwik\Http::fetchRemoteFile(…) called at [/var/www/piwik/plugins/ExampleRssWidget/RssRenderer.php:46]
#5 Piwik\Plugins\ExampleRssWidget\RssRenderer->get(…) called at [/var/www/piwik/plugins/ExampleRssWidget/Controller.php:25]
#6 Piwik\Plugins\ExampleRssWidget\Controller->rssPiwik(…) called at [:]
#7 call_user_func_array(…) called at [/var/www/piwik/core/FrontController.php:521]
#8 Piwik\FrontController->doDispatch(…) called at [/var/www/piwik/core/FrontController.php:84]
#9 Piwik\FrontController->dispatch(…) called at [/var/www/piwik/core/dispatch.php:30]
#10 require_once(…) called at [/var/www/piwik/index.php:47]

its echoed four times in the blog widget.
Everything else seems to be working though.


#2

Confirming. Having the same problem here. “Reiner” is my user folder


Warning: file_get_contents(http://feeds.feedburner.com/Piwik): failed to open stream: Connection timed out in /var/www/Reiner/piwik/core/Http.php on line 406

Backtrace -->

#0 Piwik\Error::errorHandler(...) called at [:]
#1 file_get_contents(...) called at [/var/www/Reiner/piwik/core/Http.php:406]
#2 Piwik\Http::sendHttpRequestBy(...) called at [/var/www/Reiner/piwik/core/Http.php:94]
#3 Piwik\Http::sendHttpRequest(...) called at [/var/www/Reiner/piwik/core/Http.php:719]
#4 Piwik\Http::fetchRemoteFile(...) called at [/var/www/Reiner/piwik/plugins/ExampleRssWidget/RssRenderer.php:46]
#5 Piwik\Plugins\ExampleRssWidget\RssRenderer->get(...) called at [/var/www/Reiner/piwik/plugins/ExampleRssWidget/Controller.php:25]
#6 Piwik\Plugins\ExampleRssWidget\Controller->rssPiwik(...) called at [:]
#7 call_user_func_array(...) called at [/var/www/Reiner/piwik/core/FrontController.php:521]
#8 Piwik\FrontController->doDispatch(...) called at [/var/www/Reiner/piwik/core/FrontController.php:84]
#9 Piwik\FrontController->dispatch(...) called at [/var/www/Reiner/piwik/core/dispatch.php:30]
#10 require_once(...) called at [/var/www/Reiner/piwik/index.php:47]


There is an error. Please report the message (Piwik 2.1.0) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Trying to get property of non-object in /var/www/Reiner/piwik/plugins/ExampleRssWidget/RssRenderer.php on line 58

Backtrace -->

#0 Piwik\Error::errorHandler(...) called at [/var/www/Reiner/piwik/plugins/ExampleRssWidget/RssRenderer.php:58]
#1 Piwik\Plugins\ExampleRssWidget\RssRenderer->get(...) called at [/var/www/Reiner/piwik/plugins/ExampleRssWidget/Controller.php:25]
#2 Piwik\Plugins\ExampleRssWidget\Controller->rssPiwik(...) called at [:]
#3 call_user_func_array(...) called at [/var/www/Reiner/piwik/core/FrontController.php:521]
#4 Piwik\FrontController->doDispatch(...) called at [/var/www/Reiner/piwik/core/FrontController.php:84]
#5 Piwik\FrontController->dispatch(...) called at [/var/www/Reiner/piwik/core/dispatch.php:30]
#6 require_once(...) called at [/var/www/Reiner/piwik/index.php:47]


There is an error. Please report the message (Piwik 2.1.0) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Trying to get property of non-object in /var/www/Reiner/piwik/plugins/ExampleRssWidget/RssRenderer.php on line 58

Backtrace -->

#0 Piwik\Error::errorHandler(...) called at [/var/www/Reiner/piwik/plugins/ExampleRssWidget/RssRenderer.php:58]
#1 Piwik\Plugins\ExampleRssWidget\RssRenderer->get(...) called at [/var/www/Reiner/piwik/plugins/ExampleRssWidget/Controller.php:25]
#2 Piwik\Plugins\ExampleRssWidget\Controller->rssPiwik(...) called at [:]
#3 call_user_func_array(...) called at [/var/www/Reiner/piwik/core/FrontController.php:521]
#4 Piwik\FrontController->doDispatch(...) called at [/var/www/Reiner/piwik/core/FrontController.php:84]
#5 Piwik\FrontController->dispatch(...) called at [/var/www/Reiner/piwik/core/dispatch.php:30]
#6 require_once(...) called at [/var/www/Reiner/piwik/index.php:47]


There is an error. Please report the message (Piwik 2.1.0) and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Warning: Invalid argument supplied for foreach() in /var/www/Reiner/piwik/plugins/ExampleRssWidget/RssRenderer.php on line 60

Backtrace -->

#0 Piwik\Error::errorHandler(...) called at [/var/www/Reiner/piwik/plugins/ExampleRssWidget/RssRenderer.php:60]
#1 Piwik\Plugins\ExampleRssWidget\RssRenderer->get(...) called at [/var/www/Reiner/piwik/plugins/ExampleRssWidget/Controller.php:25]
#2 Piwik\Plugins\ExampleRssWidget\Controller->rssPiwik(...) called at [:]
#3 call_user_func_array(...) called at [/var/www/Reiner/piwik/core/FrontController.php:521]
#4 Piwik\FrontController->doDispatch(...) called at [/var/www/Reiner/piwik/core/FrontController.php:84]
#5 Piwik\FrontController->dispatch(...) called at [/var/www/Reiner/piwik/core/dispatch.php:30]
#6 require_once(...) called at [/var/www/Reiner/piwik/index.php:47]


(Matthieu Aubry) #3

Thanks for the report, created ticket (and fixed) Notice: Trying to get property of non-object in ExampleRssWidget/RssRenderer.php · Issue #4928 · matomo-org/matomo · GitHub