On Thu, April 14, 2022 3:52 pm, James B. Byrne via squirrelmail-users wrote:
> OS FreeBSD-13.0
>
> I am migrating SM from one host to another. The new host runs php80. The
> old
> runs php73. I am using the FreeBSD port for SM on FreeBSD-13.0.
>
> There is a plugin that I installed many years ago called quicksave. I
> cannot
> find this in the prepackaged SM plugin ports. The version I found on the
> SM
> website dates from 2010.
>
> The existing plugin gives this error when squirrelmail is opened:
>
> [Thu Apr 14 11:05:10.097504 2022] [php:error] [pid 92477] [client
> 216.185.71.41:46251] PHP Fatal error: Array and string offset access
> syntax
> with curly braces is no longer supported in
> /usr/local/www/squirrelmail/plugins/quicksave/login_functions.php on line
> 308,
You can contact me offlist for an updated version of that plugin or just
change the curly braces in most cases to square braces in your copy of the
code.
> I also have run into this error which is unrelated to quicksave but which
> I
> could use some help with. The calander file backend is a ported plugin
> but it
> seems not to work.
>
> [Thu Apr 14 11:25:22.943031 2022] [php:error] [pid 91870] [client
> 216.185.71.41:15239] PHP Fatal error: Uncaught Error: Non-static method
> Calendar::getCalendarFromICal() cannot be called statically in
> /usr/local/www/squirrelmail/plugins/calendar_file_backend/calendar_functions.php:483\n
This is likely a bug in the Shared Calendar plugin
(calendar/classes/calendar.php) in the getCalendarFromICal function
(likely the use of $this-> or similar) but I don't have a copy of that
older code handy at the moment.
--
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@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users