![]() |
ACP User Management error - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: General Support (https://community.mybb.com/forum-176.html) +--- Thread: ACP User Management error (/thread-220716.html) |
ACP User Management error - gungrave41 - 2018-11-17 When trying to add new View in User & Groups I get the following php errors Warning [2] Invalid argument supplied for foreach() - Line: 3216 - File: C:\xampp\htdocs\mybb\privilege\modules\user\users.php PHP 7.2.8 (WINNT) C:\xampp\htdocs\mybb\privilege\modules\user\users.php 3926 errorHandler->error C:\xampp\htdocs\mybb\privilege\modules\user\users.php 3926 errorHandler->error C:\xampp\htdocs\mybb\privilege\modules\user\users.php 3659 build_user_view_table C:\xampp\htdocs\mybb\privilege\modules\user\users.php 3095 build_users_view C:\xampp\htdocs\mybb\privilege\index.php 821 require The error occurs when creating new user views, all userfields are disabled. Though the default 'all users' seems to be fine. After running a quick file check with the default admin core files, I have found that a clause in 'admin/inc/class_page.php was commented out by the ACP Theme that I have installed. if(file_exists(MYBB_ADMIN_DIR."styles/{$this->style}/{$this->active_module}.css")) { echo " <link rel=\"stylesheet\" href=\"styles/{$this->style}/{$this->active_module}.css\" type=\"text/css\" />\n"; } This clause should be enabled... |