Has anyone else gotten this error after installing Version 3 and running the database update?

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://edboostlearningcenter.org/update.php?op=selection&token=DGj_AghVP... StatusText: OK ResponseText: Fatal error: Cannot use string offset as an array in /home/vsource4/www/www/sites/all/modules/webform_civicrm/webform_civicrm_admin.inc on line 1153

FWIW, the module does seem installed and nothing seems broken. I'm still trying to decide if I should revert to my old version.

Sorry I'm useless at the debugging -- still learning!

Thanks for any thoughts.

Comments

colemanw’s picture

This doesn't give me much to go on in terms of debugging, but if it works, I say you're good with version 3.
One suggestion: for each of your webforms, go to the civicrm tab and click save. That should clean up any lingering issues.

edboost’s picture

Thanks! I appreciate it.

Everything looks fine so we're going to move forward and I'll try to find more details if there's an issue.

Thanks for this amazing module -- it's made our nonprofit's websites so much more functional!

bcobin’s picture

Same error:

Fatal error: Cannot use string offset as an array in [site]/sites/all/modules/webform_civicrm/webform_civicrm_admin.inc on line 1153
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Cannot use string offset as an array in
[site]/sites/all/modules/webform_civicrm/webform_civicrm_admin.inc, line 1153
The external command could not be executed due to an application error.

This is both before and after re-saving each webform. The two updates are still pending and I presume I'll be running into the same error every time I do a db update. Will be testing functionality now (I'm using Domain Access for multisite and double-opt-in wasn't happening; hence I'm trying the upgrade.)

This is an upgrade from 2.6 to 7.32 - using Drupal 7.15 and Civi 4.2.0. Any ideas? Thanks!

jaymcgraw’s picture

Same error from 2.6 to 7.32 on Drupal 7.12.

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: [site]/update.php?op=selection&token=GCUw6KQS95tiBNhtuBG6QS3xLXcmURXwF2GkZs-h90A&id=163&op=do StatusText: OK ResponseText: Fatal error: Cannot use string offset as an array in [site]/sites/all/modules/webform_civicrm/webform_civicrm_admin.inc on line 1153

colemanw’s picture

Status: Active » Fixed

I have investigated and committed a fix for 3.x-dev (drupal.org packages devs every 12 hours - so you'll need to wait for a dev dated sept 11 to show up)
After downloading the latest dev your update should work normally.
Please test & confirm. Thanks.

colemanw’s picture

Can anyone please confirm that this fixes the issue?

bcobin’s picture

Gladly. Yes, the upgrade worked perfectly for me - thank you! Sorry for not confirming earlier...

colemanw’s picture

Status: Fixed » Closed (fixed)

Thanks :)

edboost’s picture

Colemanw -

Thanks so much for this. I had not had time to dig back in until now (I was struggling with simultaneous webform issues) but I can also confirm that this does the trick. No more errors in the database update and the module is working beautifully.

Thank you!

BTW -- with the ability to tag more contacts on activities, I think I have finally made a functioning timesheet (that also records the work that my tutors do with their students) -- yay! Thank you for this!.