Hey guys, I just happen to be getting the folloring error with the whois module:

Fatal error: Cannot redeclare comment_theme() (previously declared in /home/dnsm/public_html/modules/nodecomment/nodecomment.module:792) in /home/dnsm/public_html/modules/comment/comment.module on line 191

But I believe I got a similar error trying to install OG.

Anyway, After this, On the home page when I am logged in and on the admin pages I get:
* warning: Illegal offset type in isset or empty in /home/dnsm/public_html/includes/path.inc on line 65.
* warning: Illegal offset type in /home/dnsm/public_html/includes/path.inc on line 70.
* warning: preg_match() expects parameter 2 to be string, array given in /home/dnsm/public_html/includes/bootstrap.inc on line 737.
* warning: preg_match() expects parameter 2 to be string, array given in /home/dnsm/public_html/includes/bootstrap.inc on line 737.

I will revert my site back to the way it was yesterday.. and I dont get those long errors.. but it seems like if I install anything else I get those 4 errors.. Any help would be greatly apreciated.

Comments

mike123106’s picture

When I revert my site back to yesterday I do not get the error.

When I try to uninstall contentnodes I get the same initial error and then the 4 warning messages again.

vm’s picture

Fatal error: Cannot redeclare comment_theme() (previously declared in /home/dnsm/public_html/modules/nodecomment/nodecomment.module:792) in /home/dnsm/public_html/modules/comment/comment.module on line 191

Looks to me to be related to:

To use this module you need to first disable comment.module.

quoted from: http://drupal.org/project/nodecomment

That said, please confirm that the core comment module is indeed disabled.

mike123106’s picture

The core comment module is disabled.

mike123106’s picture

Hmm..

Perhaps it could have been TokenActions, Automatic Nodetitles, Custom pagers, I disabled these and everything seems to work... I'm going to try and put back nodecomment, thanks a bunch guys!

mike123106’s picture

It is nodecomment. Oh well.. I will find a different solution instead of using this.

I was trying to have people reply to nodes with an offer price, like $10! but I will research how to do this another way.

wkmit’s picture

I got around it by disabling nodecomment, then the comment module manually.
According to the readme docs for nodecomment this is done automatically by the module, but i'm not totally convinced that it's enough...