When accessing "d2c/%", the users that aren't logged in will be redirected to login via drupal_goto(). It appears as though this drupal_goto() call wasn't updated when coverting the module from Drupal 6.x to 7.x, because it's using the old arguments.

Here is the actual error:

Recoverable fatal error: Argument 2 passed to drupal_goto() must be an array, string given, called in /home/webuser/platforms/drupal-7.15/sites/all/modules/d2c/d2c_core/d2c_core.module on line 740 and defined in drupal_goto() (line 671 of /home/webuser/platforms/drupal-7.15/includes/common.inc).

I'll attach a patch to fix in a moment!

CommentFileSizeAuthor
#1 d2c-drupal_goto-1929326-1.patch652 bytesdsnopek

Comments

dsnopek’s picture

Status: Active » Needs review
StatusFileSize
new652 bytes

Patch to fix!

dsnopek’s picture

Issue summary: View changes

pre -> code

dot2code’s picture

Status: Needs review » Closed (fixed)

Fixed in 6c89081e9f29ebe7a03589528db12b34f08b8996 (7.x-1.4).

dot2code’s picture

Issue summary: View changes

Fixed type-o: usually -> using