?
avatar brianteeman
brianteeman
21 May 2021

Steps to reproduce the issue

Install Joomla and an additional language

When you get the Congratulations message there is another button to Install additional languages
Select that

Expected result

Table displayed as before without error

Actual result

Notice: Undefined offset: 1 in C:\htdocs\joomla-cms\installation\tmpl\remove\default.php on line 240

System information (as much as possible)

Additional comments

avatar brianteeman brianteeman - open - 21 May 2021
avatar joomla-cms-bot joomla-cms-bot - change - 21 May 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 May 2021
avatar chmst
chmst - comment - 22 May 2021

I cannot replicate that in my localhost win10, xampp, php7.4.
I tested with German as first, then after the congratulation message with Macedonian, Albanian (both not available), French and Persian.
What is your environment?

avatar Fedik
Fedik - comment - 22 May 2021

That may happen when preg_match fail to find something

<?php // Get language code and language image. ?>
<?php preg_match('#^pkg_([a-z]{2,3}-[A-Z]{2})$#', $language->element, $element); ?>
<?php $language->code = $element[1]; ?>
<tr>

Did you got it on any specific language, or always?

avatar brianteeman
brianteeman - comment - 22 May 2021

weird - i dont get it now

avatar brianteeman brianteeman - change - 1 Jul 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-07-01 11:40:23
Closed_By brianteeman
avatar brianteeman brianteeman - close - 1 Jul 2021

Add a Comment

Login with GitHub to post a comment