Closed (fixed)
Project:
Creative Commons
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
13 Jan 2011 at 17:15 UTC
Updated:
16 Feb 2011 at 03:50 UTC
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
Comment #1
JED3 commentedThe 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
Comment #2
balleyne commentedOther 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?
Comment #3
balleyne commentedIt 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.