Closed (won't fix)
Project:
Automated Logout
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2011 at 00:24 UTC
Updated:
26 May 2013 at 21:09 UTC
I installed the Drupal 7 dev module and then received the following error when logging in as an authenticated (but not admin) user:
Notice: Undefined index: authenticated user in _autologout_by_role() (line 526 of /home/foobarwebsite/public_html/sites/all/modules/autologout/autologout.module).
Comments
Comment #1
Jesuscares commentedFlushing the caches doesn't help. I don't see any configuration or other options that I may have had to set up. Any ideas?
Comment #2
gappleThis error seems to be solely in the realm of Automated Logout; not checking for existence of an array key before accessing it.
Comment #3
gianfrasoft commentedThanks, gapple. You're right.
The code use an array with names of user's roles translated by t() function in the selected language.
I solved accessing to page admin/config/people/autologout n times, one for installed language, and saving all times.
Comment #4
gianfrasoft commentedSorry I was wrong.
Problem disappeared for a while but now is still there...
Comment #5
johnennew commentedClosing old issue - this appears to be fixed in the supported 4.x branches.