I tested another hosting which runs Ubuntu and PHP 8.0.28.
There don't appear these kind of problems.
Though there are warning logs too (but different kind of)
Code:
[14-Apr-2023 09:55:36 Europe/Berlin] Request URI: /admin/stats_products_lowstock.php?page=all&sort=products_name&dir=ASC&cat=, IP address: 31.18.248.9, Language id 43
--> PHP Warning: Undefined array key "mfg" in /admin/stats_products_lowstock.php on line 20.
[14-Apr-2023 09:55:36 Europe/Berlin] Request URI: /admin/stats_products_lowstock.php?page=all&sort=products_name&dir=ASC&cat=, IP address: 31.18.248.9, Language id 43
--> PHP Warning: Undefined array key "status" in /admin/stats_products_lowstock.php on line 21.
[14-Apr-2023 09:55:36 Europe/Berlin] Request URI: /admin/stats_products_lowstock.php?page=all&sort=products_name&dir=ASC&cat=, IP address: 31.18.248.9, Language id 43
--> PHP Warning: Undefined array key "csv" in /admin/stats_products_lowstock.php on line 22.
[14-Apr-2023 09:55:36 Europe/Berlin] Request URI: /admin/stats_products_lowstock.php?page=all&sort=products_name&dir=ASC&cat=, IP address: 31.18.248.9, Language id 43
--> PHP Warning: Undefined variable $replace_dir in /admin/stats_products_lowstock.php on line 149.
[14-Apr-2023 09:55:36 Europe/Berlin] Request URI: /admin/stats_products_lowstock.php?page=all&sort=products_name&dir=ASC&cat=, IP address: 31.18.248.9, Language id 43
--> PHP Warning: Undefined variable $dir_model in /admin/stats_products_lowstock.php on line 162.
[14-Apr-2023 09:55:36 Europe/Berlin] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * string in /admin/stats_products_lowstock.php:173
Stack trace:
#0 {main}
thrown in /admin/stats_products_lowstock.php on line 173
[14-Apr-2023 09:55:36 Europe/Berlin] Request URI: /admin/stats_products_lowstock.php?page=all&sort=products_name&dir=ASC&cat=, IP address: 31.18.248.9
--> PHP Fatal error: Uncaught TypeError: Unsupported operand types: string * string in /admin/stats_products_lowstock.php:173
Stack trace:
#0 {main}
thrown in /admin/stats_products_lowstock.php on line 173.
Linux dd6006 5.15.0-60-generic #66-Ubuntu
PHP Version: 8.0.28 (Zend: 4.0.28)
PHP Memory Limit: 256M
Datenbank Engine: MySQL 10.6.12-MariaDB-0ubuntu0.22.04.1-log
MySQL Slow Query Log Status: On
MySQL Modus: NO_ENGINE_SUBSTITUTION
Bookmarks