Page 1 of 1

CSF Messenger PHP deprecation warnings

Posted: 16 Nov 2020, 14:13
by scrupul0us
For CSF messenger, the index.php file that handles unblocking, uses curly braces for array indexes/offsets and throws:
Array and string offset access syntax with curly braces is deprecated.
For example:

Code: Select all

$lang{"warning"};
Should be

Code: Select all

$lang["warning"];
-PHP: PHP 7.4.12
-OS: CentOS Linux release 7.9.2009 (Core)
-CSF: csf: v14.08 (cPanel)

Re: CSF Messenger PHP deprecation warnings

Posted: 16 Dec 2020, 17:35
by ForumAdmin
We'll have a fix for this in the next release of csf. Thank you for reporting the issue.

Re: CSF Messenger PHP deprecation warnings

Posted: 02 Dec 2023, 13:51
by greenot
Interestingly, I am still seeing this on at least one server.