Closed (fixed)
Project:
Service links
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2011 at 01:10 UTC
Updated:
17 Jul 2014 at 14:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
biydng commentedI am seeing this error along with another one related when showing nodes associated with an OG group through panel:
Notice: Undefined index: node in _service_links_link() (line 191 of /home/biydng/public_html/sites/all/modules/service_links/service_links.module).
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in _service_links_link() (line 191 of /home/biydng/public_html/sites/all/modules/service_links/service_links.module).
Did you fix your error?
Comment #2
TheCrow commentedtry also this: #1334886: Provide a (Panels) custom content type for service links.
Comment #3
socialnicheguru commentedno the other patch does not solve this issue
Comment #4
simon georges commentedWhat about the last version (it seems one of the last patches fixed an undefined issue)?
Comment #5
simon georges commentedComment #6
minoroffense commentedI'll give it a go this week.
Comment #7
pmackay commentedI'm still getting this issue on the current 7.x-2.x-dev version. Any chance it could be checked again?
Comment #8
progpapa commentedDepending on what exaclty calls
hook_node_view,$node->content['links']['node']['#links']in_service_links_link()might or might not exist.I'm using panels and displaying a field in a pane. Here's the backtrace:
see: ctools_entity_field_extra_content_type_render
Maybe you could check if $node->content['links']['node']['#links'] is set before using array_merge or use a foreach loop.
Comment #9
hpz commentedI'm getting this error too, using Panopoly (panels). The given patch works for me.
Comment #10
simon georges commentedCould I have one more review before committing it?
Comment #11
djdevinFixed for me too. Using panelizer as an organic group homepage.
Comment #13
simon georges commentedThanks for your feedback, everybody. Committed, yay!