Closed (fixed)
Project:
Login one time
Version:
7.x-2.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Apr 2013 at 01:18 UTC
Updated:
19 Aug 2016 at 10:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
javier.drupal.2012 commentedHi Seph, did you solve this issue? I have the same one
Thanks
Comment #2
cstillwell commentedI've seen this error, too.
Seph and javier.drupal.2012, on the login_one_time admin page do you have "Custom paths" defined? And if so, are you using key|value pairs, or do you just have a path on each line?
It looks like lines 374-375 in login_one_time.module assume you're using key|value pairs, and offset 1 corresponds to the value, which is undefined if you've just got a path (causing the error).
In my case, I just added a display value to my path (from "path" to "path|Path"), but the code fix (which I have not really tested) is probably a matter of changing line 375 from:
To:
Comment #3
ashwinshAdded patch file for this issue, please check it.
Comment #4
bapi_22 commentedComment #6
bapi_22 commentedThanks @ashwin.shaharkar for the patch. Committed.