I got this warning about the creativecommons module when I went to a user account

Warning: Invalid argument supplied for foreach() in /usr/local/share/drupal/v6/modules/creativecommons/creativecommons.module on line 808

Error accessing CC API: Not Found

Along with this after I clicked on Save

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/share/drupal/v6/modules/creativecommons/creativecommons.module:808) in /usr/local/share/drupal/v6/core/drupal-6.20/includes/common.inc on line 345

Comments

JED3’s picture

The CC REST API was updated earlier this week to address concerns with the service's performance (mentioned in a separate issue for the this plugin). This plugin has been using a URL which should have never been a valid API method, but was supported as a result of a bug in previous versions of the CC REST API. When we updated the service, that URL was no longer valid, and as a result, 404s started going out. We've updated the API to be backwards compatible with this URL and we apologize for the oversight.

John Doig
Creative Commons Engineer

balleyne’s picture

Assigned: Unassigned » balleyne
Status: Active » Postponed (maintainer needs more info)

Other API issues are being addressed in #873738: Error accessing CC API: Connection timed out, but this problem was slightly different.

John, do you remember what the invalid URL was? Is it worth correcting anyways?

balleyne’s picture

Status: Postponed (maintainer needs more info) » Fixed

It had to do with a call to /license/standard/, wasn't supposed to have a trailing slash. No need to change now as the API supports the call with or without the slash.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.