Active
Project:
Notifications Add-ons
Version:
6.x-4.x-dev
Component:
CCK notifications
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2010 at 13:23 UTC
Updated:
4 Jul 2011 at 07:03 UTC
warning: Missing argument 4 for notifications_cck_formatter() in /sites/all/modules/notifications_extra/notifications_cck/notifications_cck.module on line 328.
this happen with all of the cck type: text type, Node reference type CCK.
on admin/messaging/subscriptions
the subscription created look like this:
Tipo Descrizione Utente Send method Send interval Stato Operazioni
CCK CCK: PROVA: a:1:{s:5:"value";s:2:"rr";} xxxx Mail Immediately attivo modifica, drop
i'm using CCK 6.x-2.8
Comments
Comment #1
romanciuc commentedafter i subscribe to a cck filed and i create a new node that contains this cck filed i have this error
warning: ksort() expects parameter 1 to be array, null given in sites/all/modules/notifications_extra/notifications_cck/notifications_cck.module on line 100.
and nothing happen. nothing also in queue
Comment #2
coloryan commentedSubscribing. Me too.
Comment #3
vince.rowe commentedHi,
We are getting the same error when using CCK (node reference in our case) on Notifications.
Also using CCK 6.x-2.8 and Notifications Add-ons 6.x-4.0-beta5
Comment #4
vince.rowe commentedJust a quick addition to this incase it helps; when using the subscriptions block the wording is always left blank when using CCK notifications linked to a Node reference field.
This is because the codebase is currently assuming a 'value' field will be passed by the array to the calling function, so when something like a node reference is used (which only passes a single field called 'nid') it just stays blank.
A quick value / nid check would solve this display issue, but again, am only mentioning this incase it helps the main support request here.
Cheers.
Comment #5
vince.rowe commentedHi there,
Is there any update on this issue? Is this still being actively maintained?
Please let me know if you would like me to run any tests or supply any further information.
Many thanks,
Vince
Comment #6
liquidcms commentedsame issues with noderef
when i add a noderef to custom subscription i get these errors:
* warning: Missing argument 3 for notifications_cck_serializer() in E:\wamp\www\cta\sites\all\modules\notifications_extra\notifications_cck\notifications_cck.module on line 350.
* warning: Missing argument 4 for notifications_cck_serializer() in E:\wamp\www\cta\sites\all\modules\notifications_extra\notifications_cck\notifications_cck.module on line 350.
i have added simply a NID and it returns with error and puts the following in my field:
a:1:{s:5:"value";s:4:"1462";}
i have addons: 6.x-4.x-dev (2011-Feb-25)
and notifications: 6.x-4.0-beta7
Comment #7
liquidcms commentedhmm.. interesting.. and if i keep re "saving fields" it just keeps duplicating the serialized array and adding this to the field.
Comment #8
liquidcms commentedchanging title to make this specific to noderefs.. although possibly still other issues as well with cck subscriptions
Comment #9
samhassell commentedSubscribe