Closed (won't fix)
Project:
Node Comments
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2011 at 16:02 UTC
Updated:
16 Nov 2012 at 12:32 UTC
Hi,
I migrated nodes from D5 to D6. In the D6 version of my nodes I all the time get this error:
warning: Missing argument 2 for _nodecomment_node_add_access() in /sites/all/modules/nodecomment/nodecomment.module on line 905.
How can I get rid of this error please?
Thanks a lot in advance for your reply!
greetings, Martijn
Comments
Comment #1
crea commentedPlease post detailed instructions to reproduce
Comment #2
crea commentedWell, tbh, I can't support data migrations. I never used D5 version, and D6 1.x branch was totally different.
So, unless you provide a patch fixing this stuff, I think it will remain as is.
Comment #3
summit commentedhI Andrey, s orry, I do not have time until after the summer.
I will investigate it more then hopefully. Thanks for the update.
greetings, Martijn
Comment #4
broncomania commentedI get the same error without migration. I just switch from normal drupal forum comments to node comments. I did this on two forums. The first works as expected nice without any problems but the second forum throws now this error. I am really wondering because I made the same steps but maybe it is caused by other modules. What will be the best way to solve this issue?
Comment #5
broncomania commentedComment #6
broncomania commentedLook here this solves the problem for me http://drupal.org/node/1249196#comment-5313854
Comment #7
dunx commentedI get this error when I installed the edge-usage-case module domain_content_types
Two parameters expected in _nodecomment_node_add_access($op,$type) and the only variable that's being passed in is my content type. Not idea whether this is an error in nodecomment or domain_content_types, but thought I'd post it here.
I'll follow up if I find anything else out.
UPDATE: Sounds a bit drastic, but I just changed the function to accept just one parameter; $type! Everything still seems to be working as expected... so far.
Comment #8
crea commented2.x is unlikely to get any support at this point. Closing all related issues.