Re: delete_move_next plugin: Trying to access array offset on value of type null

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, January 19, 2022 1:39 am, Robert Kudyba wrote:
> Running squirrelmail-20220115_0200-SVN.devel.tar.gz

Remember to make sure to indicate if this is version 1.4.23 or 1.5.2, in
this case I believe it is 1.4.23

> on Fedora 35, PHP 8,
> the delete_move_next plugin generates this error:
>
> Category: PHP
> Message: Trying to access array offset on value of type null
> FILE: /usr/share/squirrelmail/plugins/delete_move_next/setup.php
> LINE: 187

Is line 187 this in your case:

$prev = findPreviousMessage($mbx_response['EXISTS'], $passed_id);

If so, BEFORE that line please add this and take a look at the output:

sm_print_r($mbx_response);

EXISTS is a required field in the response for the SELECT command, so it
should not be null.  You might need to look into your IMAP setup or see if
your account is broken.

-- 
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php




-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux