A lot "Undefined index: is_admin" (I guess after installing patch) May 03, 2019, 08:15:18 am Hello, I have some issues with my ElkArte. I guess, after installing Patch, I can't go to upper/main directory. The Forum shows just something like: Code: [Copy]Notice: Undefined index: is_admin in /www/htdocs/**********/sources/Security.php on line 1052Notice: Undefined index: linktree in /www/htdocs/**********/sources/Load.php on line 1871Warning: Invalid argument supplied for foreach() in /www/htdocs/**********/sources/Load.php on line 1871Notice: Undefined index: is_guest in /www/htdocs/**********/sources/Load.php on line 1803***** by me. I have no problems getting in Admin-Area or post directly an answer in my forums. Can somebody tell me, what I did wrong or how I can fix this. Thank you in advance. Edit: I guess I fixed it by creating a new board all seems ok.
Re: A lot "Undefined index: is_admin" (I guess after installing patch) Reply #1 – May 03, 2019, 11:00:32 am Interesting ... glad you got it fixed! If it occurred right after an upgrade it may have been an old cache file that had not (yet) been reset.
Re: A lot "Undefined index: is_admin" (I guess after installing patch) Reply #2 – May 24, 2019, 06:36:34 pm Hi, I've got the same problem... I can load the main page and read any topic shown in recent posts but I'm getting a blank page when I click on a board .PHP and PHP-FPM are at 7.3.5, running on nginx. In my case, creating a new board didn't fix the problem, any help is appreciated.Code: [Copy]2019/05/24 23:46:49 [error] 14062#14062: *41120 FastCGI sent in stderr: PHP message: PHP Notice: Undefined index: is_admin in /srv/http/elkarte/sources/Security.php on line 1052PHP message: PHP Notice: Undefined index: is_guest in /srv/http/elkarte/sources/Load.php on line 1803PHP message: PHP Notice: Undefined index: mod_cache in /srv/http/elkarte/sources/Load.php on line 1809PHP message: PHP Notice: Undefined index: username in /srv/http/elkarte/sources/Load.php on line 1810PHP message: PHP Notice: Undefined index: language in /srv/http/elkarte/sources/Load.php on line 1811PHP message: PHP Notice: Undefined index: email in /srv/http/elkarte/sources/Load.php on line 1812PHP message: PHP Notice: Undefined index: ignoreusers in /srv/http/elkarte/sources/Load.php on line 1813PHP message: PHP Notice: Undefined index: name in /srv/http/elkarte/sources/Load.php on line 1819PHP message: PHP Notice: Undefined index: smiley_set in /srv/http/elkarte/sources/Load.php on line 1826PHP message: PHP Notice: Undefined index: smiley_set in /srv/http/elkarte/sources/Load.php on line 1827PHP message: PHP Notice: Undefined index: possibly_robot in /srv/http/elkarte/sources/BrowserDetector.class.php on line 249PHP message: PHP Warning: array_unshift() expects parameter 1 to be array, null given in /srv/http/elkarte/sources/Load.php on line 1578PHP message: PHP Notice: Undefined index: language in /srv/http/elkarte/sources/Load.php on line 1639PHP message: PHP Notice: Undefined index: time_offset in /srv/http/elkarte/sources/Subs.php on line 553PHP message: PHP Notice: Undefined index: time_offset in /srv/http/elkarte/sources/Subs.php on line 439PHP message: PHP Notice: Undefined index: time_format in /srv/http/elkarte/sources/Subs.php on line 478PHP message: PHP Notice: Undefined index: smiley_set in /srv/http...
Re: A lot "Undefined index: is_admin" (I guess after installing patch) Reply #3 – May 25, 2019, 04:56:49 pm Workaround: downgrade php/php-fpm to 7.2.
Re: A lot "Undefined index: is_admin" (I guess after installing patch) Reply #4 – May 25, 2019, 05:09:33 pm I dont think Elk will run smoothly on 7.3.I see some problems here and there when running locally.ETA: yep, I guess 7.2 is the one for the time being.I have to check 1.1.6 if all the needed fixes were applied.