I have been installing Drupal 4.6.3 with quite a few added modules. Everthing was working quite well and then I suddenly started getting the following Warnings after adding comments or posting to my blog, posting a story still works fine but commenting or replying to comments caused:
warning: Missing argument 2 for variable_get() in /home/syncon2u/public_html/includes/bootstrap.inc on line 152.
warning: Cannot modify header information - headers already sent by (output started at /home/syncon2u/public_html/includes/common.inc:384) in /home/syncon2u/public_html/includes/common.inc on line 192.
I have never encountered this before in quite a few Drupal installations, any ideas what might be happening?
Comments
Problem with Subscription Module?
I'm having the same problem since installing the subscription module and creating a subscription which is getting fired.
Anyone else?
same problem here, turned
same problem here, turned out to be a problem with a module i wrote even tho the errors were showing up all over the place. make sure you dont have any variable_get('something') anywhere and replace them with variable_get('something','') if you find them. awesome.
in case anybody's still looking
the offending line was in subscription.module line 693.
make sure it reads:
$from = variable_get("site_mail", 0);
Wow thanks!
I just found I had this problem, searched for it here on the forums and fixed it in about 5 minutes.
Drupal is rad.