simple-file-manager icon indicating copy to clipboard operation
simple-file-manager copied to clipboard

PHP 7 has been discontinued

Open akzkak opened this issue 1 year ago • 1 comments

https://www.php.net/releases/index.php "Support for PHP 7 has been discontinued since 03 Nov 2022.Please consider upgrading to 8."

Upgrading to php 8.xx cause the following errors:

Warning: Undefined array key "file" in /files/index.php on line 43

Warning: Undefined array key "file" in /files/index.php on line 49

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /files/index.php on line 49

Warning: Undefined array key "file" in /files/index.php on line 60

Warning: Undefined array key "do" in /files/index.php on line 61

Warning: Undefined array key "do" in /files/index.php on line 87

Warning: Undefined array key "do" in /files/index.php on line 92

Warning: Undefined array key "do" in /files/index.php on line 101

Warning: Undefined array key "do" in /files/index.php on line 111

Bit Googling around and it looks like passing to NULL is just no longer a thing and "Undefined array key" was updated from a notice to warning.

akzkak avatar Jun 25 '23 00:06 akzkak

PR #132 fixes the issues.

RAD750 avatar Sep 05 '23 07:09 RAD750