Closed (fixed)
Project:
Messaging
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Dec 2008 at 12:12 UTC
Updated:
24 Dec 2008 at 13:04 UTC
Hi!
After I change messaging 1.0 module into messaging 1.x dev, the cron on my page stop working.
When I try it run manualy, I got this message:
Fatal error: Cannot use object of type stdClass as array in /home/users/somvprahe.sk/web/www/sites/all/modules/notifications/notifications.cron.inc on line 459
Notifications module is always 1.0 version
Thanks
Igorik
http://www.somvprahe.sk
Comments
Comment #1
cglusky commentedI am getting the same thing running mail2 web. According to messaging CVS :
" Reworked message processing, using objects now instead of array" so we have parameters passed in as objects to other modules that attempt to use them as arrays, which is not going to work so well. i am messing around with some ugly type casting hacks for a quick fix, but i would bet there are some modules that will need updating.
r,
coby
Comment #2
cglusky commentedIgorik,
I would say to check back after Jose gets around to updating Notifications to handle the Object Oriented stuff that he has added to Messaging. These two modules are like salt and pepper (they go together - in case that gets lost in translation:), so would guess that an update to Notifications is coming soon. But that's just a guess. I am working on a patch to get Mail2Web working with these changes.
R,
Coby
Comment #3
AntiNSA commentedIs this fixed? I have the same error...
Comment #4
cglusky commentedit looks like if you are going to track the latest dev versions of messaging then you will also need the latest dev version of notifications. both are being moved to objects vice arrays. there was a 22 dec commit of notifications module that should fix this problem, but i have not tried it yet.
r,
coby
Comment #5
igorik commentedHi
I can confirm that with latest messaging and notifications module it works without errors.
Thanks, good work.
Igorik
http://www.somvprahe.sk
Comment #6
cglusky commentedexcellent.
Comment #7
jose reyero commentedRight, both modules are developed together. I've just added a note to the project page:
Note: The development of this module is done in sync with Messaging Framework, thus latest stable version of Notifications will work with latest stable of Messaging, and same for -dev versions.