Closed (fixed)
Project:
Location
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2011 at 00:55 UTC
Updated:
6 Apr 2011 at 12:41 UTC
I have this error on node view, and it appears also in the errorlog
Comments
Comment #1
rooby commentedCan you post the full error (mainly I'm just after the file name and line number of the error).
It is generally a good idea to post the error message into your post as well as the title anyway because someone can change the title down the line and then it makes it hard to search for the problem.
Comment #2
egarias commentedWarning: Missing argument 3 for location_node_node_view() en location_node_node_view() (línea 87 de /home/empresa/public_h
This message come from the watchdog, and also appears as errormessage in the page I have no further information, if you give me some indications i could extract more data maybe
I also have this other one in paralel:
Warning: Missing argument 3 for service_links_node_view() en service_links_node_view() (línea 111 de /home/empresa/public_html/sites/all/modules/service_links/service_links.module).
Thanks
Enrique
Comment #3
rooby commented- Changing priority as it is a warning not an error.
Thanks I found the issue. Seems there is a problem with the documentation for hook_node_view().
If you are still seeing the message:
then you will want to open an issue for that in the service links issue queue.
For reference in that issue you might want to link to #1102556: hook_node_view (maybe) has only two arguments
Fixed for location_node and location_addanother modules.
http://drupalcode.org/project/location.git/commit/1e998b6
Comment #4
egarias commentedConfirmed it works