array error on login screen

2 posts by 2 authors in: Forums > CMS Builder
Last Post: December 30, 2020   (RSS)

By hans - December 30, 2020

This is the problematic line 177:

  elseif (@$menu['visibility'] == 'requireAdmin' && !empty($CURRENT_USER['isAdmin']))                   { $userHasMenuAccess = true; } // allow access to admin for admin menus

My best guess is, $CURRENT_USER was false, since you were not logged in, but the checking still happened. In any case, it's a very rare case and won't happen very often.

If you run into more problems like it in the future, feel free to reply here.

Hans Marcon
PHP Programmer (In Training)
interactivetools.com