MyBB Community Forums

Full Version: Language variables issue...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have discovered that there is issues with language files loading with certain parts of the Admin Panel, since at least version 1.6 up to 1.8.34.

As an example, if you go to "Users & Groups - Mass Mail" and try to edit a previous mass mail you will get this warning :

Warning [2] Undefined property: MyLanguage::$additional_user_groups_desc - Line: 599 - File: admin/modules/user/mass_mail.php PHP 8.0.29 (Linux)
File                                 Line    Function
/inc/class_error.php                 153    errorHandler->error
/admin/modules/user/mass_mail.php    599    errorHandler->error_callback
/admin/index.php                     839    require

The variable "additional_user_groups_desc" only exists in the "/inc/languages/english/admin/user_users.lang.php" file, which is not loaded!

The problem seem to have an origin of many years ago, but because the warning was not displayed in the past it as gone unknown...
Looks like it should be added to admin/user_mass_mail.lang.php. Can you create a Pull Request?