I am upgrading to Send 6.x-1.0-alpha2 and I ran updates on this module. I got an error that said:

Cannot use object of type stdClass as array in modules/send/send.install on line 539.

CommentFileSizeAuthor
#1 send.install_update6002.patch.txt571 bytesgirishmuraly

Comments

girishmuraly’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new571 bytes

Found the bug was caused due to using a stdclass object as an array key.

The fix is attached as a patch below. Please review.

Thanks,
Girish

girishmuraly’s picture

Project: Drupal core » Send
Version: 6.1 » 6.x-1.0-alpha2
Component: update system » Code

Updated the project to Send.

asb’s picture

Conforming this issue when upgrading the database from D5 to D6.

The patch from #1 applies cleanly and fixes the issue for me.

Thanks & greetings,
-asb

jerdavis’s picture

Status: Patch (to be ported) » Fixed

committed, thanks!

Status: Fixed » Closed (fixed)

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