Paul Larson
Basic Pleskian
- Server operating system version
- CentOS Linux release 7.9.2009
- Plesk version and microupdate number
- Obsidian 18.0.46
This is probably a Centos Question, but I've noticed more verbose warning output since upgrading a site to PHP 8.1, e.g.
Centos Version:
I get the same output when I use an absolute path:
Code:
-bash-4.2$ php myscript.php
The following error occurred:
E_DEPRECATED: explode(): Passing null to parameter #2 ($string) of type string is deprecated
Centos Version:
Code:
-bash-4.2$ cat /etc/*rel*
CentOS Linux release 7.9.2009 (Core)
Derived from Red Hat Enterprise Linux 7.9 (Source)
Code:
-bash-4.2$ php -v
PHP 8.1.14 (cli) (built: Jan 9 2023 10:16:54) (NTS)
I get the same output when I use an absolute path:
Code:
-bash-4.2$ /opt/plesk/php/8.1/bin/php myscript.php
The following error occurred:
E_DEPRECATED: explode(): Passing null to parameter #2 ($string) of type string is deprecated