[ixpmanager] v6.4.0 and logging

Pim van Pelt pim at ipng.ch
Sat Jun 8 22:46:15 IST 2024


Hoi folks,

I've (reasonably) successfully updated from v6.3.1 to v6.4.0 just now - 
using the documentation on https://docs.ixpmanager.org/install/upgrading/

After the upgrade - artisan spits out a few warnings, around the 
LogManager.php code which is called with $config = null but then tries 
to access $config['driver'] --

root at ixpmanager-grskg0:/srv/ixpmanager# php -v
PHP 8.2.18 (cli) (built: Apr 11 2024 22:07:45) (NTS)

root at ixpmanager-grskg0:/srv/ixpmanager# sudo -u www-data bash -c "php 
/srv/ixpmanager/artisan user:find pim"
PHP Warning:  Undefined array key "driver" in 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Log/LogManager.php 
on line 213
PHP Warning:  Undefined array key "driver" in 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Log/LogManager.php 
on line 217
PHP Deprecated:  ucfirst(): Passing null to parameter #1 ($string) of 
type string is deprecated in 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Log/LogManager.php 
on line 217
PHP Warning:  Undefined array key "driver" in 
/srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Log/LogManager.php 
on line 223
+----+--------------+----------+-------------+---------------+-------+
| ID | Name         | Username | Email       | Customers     | Privs |
+----+--------------+----------+-------------+---------------+-------+
| 1  | Pim van Pelt | pim      | pim at ipng.ch | FreeIX Greece | SU    |
+----+--------------+----------+-------------+---------------+-------+

It seems benign as artisan does indeed do what I ask, but these warnings 
were not there before - PHP was not changed. Before I go spelunking in 
laravel, has somebody on the list seen such a situation when upgrading?

groet,
Pim

-- 
Pim van Pelt <pim at ipng.ch>
PBVP1-RIPE https://ipng.ch/



More information about the ixpmanager mailing list