5 / 12
Mar 2023

Hi all ,
I have updated egw from version 21.1 to version 23.1 , everything works except displaying emails , it returns this error (see attachment)

.
Error!

array_key_exists(): Argument #2 ($array) must be of type array, bool given

/usr/share/egroupware/mail/inc/class.mail_ui.inc.php (2532)

With verisone 21.1 i don’t have this problem.
Can you help me?
Tks
Giuseppe

  • created

    Mar '23
  • last reply

    Mar '23
  • 11

    replies

  • 1.2k

    views

  • 3

    users

  • 4

    links

Hi Giuseppe.

The error message appears when you click on folders in the mailbox, right?
Does this happen with all folders?

Stefan

The cause is a non-functioning Collabora Online.

With 23.1 it is possible to open Office files from an e-mail directly in Collabora Online. If there are mails with Office files in a folder and Collabora Online is not available/not working, this error occurs. We are working around this situation with this patch:

Your options:

  • Get your Collabora Online working
  • Take away the right to execute Collabora Online from the users
  • Wait for the next maintenance release

Stefan

Hi Stefan & Ralf , yes the error appears when I click on folders in the mailbox , I try to apply the suggested patch
thanks

Hi Giuseppe.

Please note: You can not implement GitHub patches in tehe “old” way described her:

See also:

That is the reason why I did not list this possible solution.

Stefan

Hi Stefan ,
thank you for your reply , I have seen the three options

  • Get your Collabora Online working
  • Take away the right to execute Collabora Online from the users
  • Wait for the next maintenance release

but how can I take away users’ right to run Collaborate Online?
Thks
Giuseppe

Thanks Stefan ,
I solved excluding collabora online waiting for the new release.
best regards
Giuseppe

The new release will only take care of NOT stalling Mail app in that situation, it will not bring Collabora back.

Please run the following command on your server and post the result here:

ls -l /var/lib/egroupware/default/loolwsd

Ralf

Hi Ralf,
how can I update it manually ?
What command should I execute?
Best Regards