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

romanciuc’s picture

after 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

coloryan’s picture

Subscribing. Me too.

vince.rowe’s picture

Hi,

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

vince.rowe’s picture

Just 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.

vince.rowe’s picture

Hi 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

liquidcms’s picture

same 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

liquidcms’s picture

hmm.. interesting.. and if i keep re "saving fields" it just keeps duplicating the serialized array and adding this to the field.

liquidcms’s picture

Title: CCK notification error » CCK notifications do not work with noderefs

changing title to make this specific to noderefs.. although possibly still other issues as well with cck subscriptions

samhassell’s picture

Subscribe