Closed (duplicate)
Project:
Organic Groups Notifications
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 May 2012 at 18:01 UTC
Updated:
6 May 2013 at 07:34 UTC
Jump to comment: Most recent file
Comments
Comment #1
edvanleeuwenMy mistake, sorry. I did not use the proper combination of OG and OG Notifications.
Comment #2
yarroha commentedCould be, but it shouldn't show You any php errors when you setup something wrong.
Could You provide more information about your OG settings when you got this error, please?
Suppose You didn't set any group for a node, and got this error when had opened this node page. Am I right?
Comment #3
edvanleeuwenI have a field added to each content type to give the context of the content. This field is multiple and mandatory. I have not changed the settings after I upgraded.
No, most of the nodes had already set a group for a node. I now get the message infrequently and then I do have to add the group.
Does this help you?
Comment #4
deanflory commentedI'm getting these errors on the /node home page now:
Warning: array_pop() expects parameter 1 to be array, null given in Og_Notifications_Subscription->set_group() (line 30 of /home/account/public_html/drupal/sites/all/modules/og_notifications/og_notifications.inc).
Warning: array_pop() expects parameter 1 to be array, null given in Og_Notifications_Subscription->set_group() (line 30 of /home/account/public_html/drupal/sites/all/modules/og_notifications/og_notifications.inc).
Notice: Undefined index: title in _popup_menu() (line 488 of /home/account/public_html/drupal/sites/all/modules/popup/includes/popup.api.inc).
Notice: Undefined index: #id in popup_descriptions_preprocess_form_element() (line 69 of /home/account/public_html/drupal/sites/all/modules/popup/modules/popup_descriptions/popup_descriptions.module).
Organic Groups: 7.x-2.0-alpha3
Organic Groups Notifications: 7.x-2.0-dev
Comment #5
socialnicheguru commentedI am getting this too.
line
og_get_entity should be checked to see if it returns a real value.
in my case -
I had a content type that is a group type
I was able to save the content type without the manditory group setting (I think I was testing overlay or lightbox2 node creation).
Comment #6
rishi_cs357 commentedHello everyone,
I also have faced the same problem.There is two times array pop() function has been used. Remove one of them....Here is the patch...
Rishi
ASP Global Works, India
Comment #7
seddonym commentedJust to reiterate, the most likely cause of this problem is using the wrong combination of OG and OG Notifications. As per the module home page:
Comment #8
edvanleeuwenThis error has reappeared in my current configuration.
Versions used:
I do not know if this is the cause of the fact that now only one of my messages will be sent:
Sent event Node post to 67 subscriptions: 1 success, 0 errors, 66 skipped.Comment #9
mxr576I've published a patch here, that may solved that problem too.
Comment #9.0
mxr576Removed domain user data.