Issue possibly related to #1976664: Notice: Undefined index: status in acquia_agent_update_status_alter().
Using the latest version of the connector with Drupal 7.22, I am receiving the following error:
Warning: Illegal string offset 'view' in acquia_agent_toolbar_add_links() (line 103 of sites/all/modules/acquia_connector/acquia_agent/acquia_agent.module).
Even after refreshing the subscription, it appears that the "project" is returning an ID as opposed to an associative array. I suspect that the return value of the XMLRPC call changed.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | acquia-agent-offset-1993692-d7.patch | 770 bytes | coltrane |
| #4 | acquia-agent-1993692-d6-do-not-test.patch | 791 bytes | coltrane |
| #1 | acquia-agent-offset-1993692-d7.patch | 908 bytes | coltrane |
Comments
Comment #1
coltraneComment #2
cpliakas commentedWorks for me as long as we are no longer expecting
$subscription['product']to be an associative array of info.Comment #3
coltraneNo you're right, the server won't be sending the right data anymore so the title should just go away.
Comment #4
coltraneComment #5
coltranehttp://drupalcode.org/project/acquia_connector.git/commit/5f805b8 and http://drupalcode.org/project/acquia_connector.git/commit/90fa4de
Comment #6
todd zebert commented(EDIT) Just realized this was fixed in -2.11, http://drupal.org/node/1996850
I know this is for 7.x but with 6.x-2.10 and PHP 5.4 I'm seeing the same error, and line of code:
Illegal string offset 'view' in .../acquia_connector/acquia_agent/acquia_agent.module on line 427.
Which is:
$item['localized_options']['attributes']['title'] = $subscription['product']['view'];There's only one reference to $subscription['product']['view'] in function acquia_agent_translated_menu_link_alter().
I'm not sure I follow this thread entirely, but judging from the patch, this line can just be removed ... as it's no longer needed anyway?
Thanks.