Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
see this http://drupal.org/node/933684#comment-4500248
you need to change the $requirements['http requests'] = array(
to something like $requirements['piwik http requests'] = array(
Comments
Comment #1
hass CreditAttribution: hass commentedNever seen any issue myself and cannot repro. Sounds like a core bug or is there documentation that it is forbidden to have the same checks? I see no reason... If we have the same check it should only be done once like this check and the requirement check result should be used in all modules that use the same check.
Moving to core.
Comment #2
abaddon CreditAttribution: abaddon commentedits a bug in piwik, i dont want to dig through drupal api dogs, because you're right it might not be mentioned there, also see the linked issue and my comment - theres links to other modules that fixed this
to reproduce you need to make drupal's internal check for http requests checks fail, because you have that "if" in there:
something like putting the site behind a http auth password.. and then check the drupal status page, if the http request fails you will also have an entry on that page saying "Array()" and those error messages in the drupal recent errors log
Comment #3
hass CreditAttribution: hass commentedMarked #1271780: $requirements['http requests'] is already set, piwik creates it anew as dup
Comment #4
hass CreditAttribution: hass commentedWe need to see this in a bigger picture... e.g. 30 modules need to verify if they are able to issue HTTP requests with drupal_http_request(). This will timeout the page load. If the check is done only once, there is no problem. This may counts only for expensive checks, but as we do have them we need to solve this.
This was never a problem in D6 as I know. So it's a D7+ bug. Not sure why this was initially opened for D6.