I keep getting this notice in my logs over and over but I don't really have a clue why it's happening. I am using the latest 2.3 version.

Notice: Undefined property: stdClass::$variable_name in acquia_spi_get_platform_mysql_data() (line 863 of /home/webhost/public_html/sites/all/modules/acquia_connector/acquia_spi/acquia_spi.module).

I've connected fine and everything else seems ok.

Comments

OldAccount’s picture

I'm using 2.1 and getting the same message:
Notice: Undefined property: stdClass::$variable_name in acquia_spi_get_platform_mysql_data() (line 802 of /srv/data/var/www/emed/sites/all/modules/acquia_connector/acquia_spi/acquia_spi.module).

It completely filled up my log, had to disable the module.

yellowjersey’s picture

I upgraded to 2.3 and am getting the same error message as highrockmedia:

Undefined property: stdClass::$variable_name in acquia_spi_get_platform_mysql_data() (line 863 of C:\Users\Sites\mysite\sites\all\modules\acquia_connector\acquia_spi\acquia_spi.module).

In my error log, I get about 100 of the above error and then a timeout error:

request timed out (-1): https://nspi.acquia.com/xmlrpc.php - acquia.nspi.update

Discovered this on my local dev environment so to test, tried updating to 2.3 on a live environment and that went ok so am thinking this is a configuration error rather than a bug but would be interested to hear any suggestions.

I am running 7.14 core.

coltrane’s picture

What DB are you using?

danny englander’s picture

I'm using MYSQL 5.x

coltrane’s picture

Status: Active » Needs review
StatusFileSize
new639 bytes

Thanks. Try this if you would please.

danny englander’s picture

Ok, I've applied the patch, reenabled the module and ran cron. As far as I can tell, the issue is no longer happening at this time. I will watch the log on the site in question as the day goes by. Thank you.

danny englander’s picture

I am still getting this error periodically:

request timed out (-1): https://nspi.acquia.com/xmlrpc.php - acquia.nspi.update

However, the filling up of the log with the original error I posted has stopped.

coltrane’s picture

StatusFileSize
new694 bytes

Try this one.

coltrane’s picture

StatusFileSize
new694 bytes

Actually this one.

yellowjersey’s picture

I'm using MySQL 5.1.61-community-log

coltrane’s picture

StatusFileSize
new2.98 KB

Updated patch, was still missing some fixes.

This problem is because of http://engineeredweb.com/blog/drupal-7-14-api-incompatible-change/.

danny englander’s picture

ah, that makes sense now, the problem started after I upgraded to 7.14. I can't test the patch just yet as my trial subscription ran out, I am waiting for my client to purchase a subscription. Thanks!

kenorb’s picture

Category: support » bug
Priority: Normal » Minor
Status: Needs review » Reviewed & tested by the community

Looks fine for me.

coltrane’s picture

Status: Reviewed & tested by the community » Needs work

This doesn't work if the site is < 7.14. Working on fix.

coltrane’s picture

Version: 7.x-2.3 » 7.x-2.x-dev
Status: Needs work » Needs review
StatusFileSize
new1007 bytes

Please try this out. If you're on 7.14 just confirm you don't get any notifications in the logs. If you're < 7.14 check there's no new errors.

Edit: This applies fresh, not over previous patches.

rickmanelius’s picture

Worked for me (7.14)

coltrane’s picture

Status: Needs review » Fixed

Committed http://drupalcode.org/project/acquia_connector.git/commit/e4b69f2

7.x-2.5 7.x-2.4 will be released tomorrow June 1st

Edit: 7.x-2.4, not 7.x-2.5

Status: Fixed » Closed (fixed)

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