Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In PHP8.2 there is a bug in mchat global settings. #43

Open
chenry12 opened this issue Apr 10, 2023 · 0 comments
Open

In PHP8.2 there is a bug in mchat global settings. #43

chenry12 opened this issue Apr 10, 2023 · 0 comments

Comments

@chenry12
Copy link

chenry12 commented Apr 10, 2023

Hello,

In PHP8.2 there is a bug in mchat global settings.

This message appears instead of globalsettings:

Fatal error: Uncaught ValueError: Unknown format specifier " " in ..\phpbb\phpbb\language\language.php:313 Stack trace:
#0 ..\phpbb\phpbb\language\language.php(313): vsprintf('Ici, vous pouve...', Array)
#1 ..\phpbb\phpbb\language\language.php(245): phpbb\language\language->lang_array('MCHAT_BBCODES_D...', Array)
#2 ..\phpbb\ext\dmzx\mchat\controller\acp_controller.php(224): phpbb\language\language->lang('MCHAT_BBCODES_D...', '<a href="./../a...', '')
#3 ..\phpbb\ext\dmzx\mchat\acp\acp_mchat_module.php(34): dmzx\mchat\controller\acp_controller->globalsettings('./../adm/index....')
#4 ..\phpbb\includes\functions_module.php(676): dmzx\mchat\acp\acp_mchat_module->main('\dmzx\mchat\acp...', 'globalsettings')
#5 ..\phpbb\adm\index.php(81): p_master->load_active()
#6 {main} thrown in ..\phpbb\phpbb\language\language.php on line 313`

In the file phpbb/ext/dmzx/mchat/language/fr/mchat_acp.php some specifiers do not have the correct format (e.g. %1$s instead of %1$s, spaces are present when they should not be.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant