TeemIp / teemip-core-ip-mgmt

Core modules of TeemIP, a WEB based IP Address Management tool
https://www.teemip.net
GNU Affero General Public License v3.0
19 stars 12 forks source link

install errors on itop 3.0.0-beta #11

Closed efarias closed 2 years ago

efarias commented 3 years ago

I got this errors when trying to install on itop 3.0.0-beta

[Wed Nov 03 20:37:43.969012 2021] [php7:warn] [pid 582] [client 172.17.0.1:55214] PHP Warning:  Declaration of TeemIp\\TeemIp\\Extension\\IPv6Management\\Model\\_IPv6Subnet::GetName() should be compatible with DBObject::GetName($sType = Combodo\\iTop\\Core\\MetaModel\\FriendlyNameType::SHORT) in /var/www/html/env-production/teemip-ipv6-mgmt/src/Model/_IPv6Subnet.php on line 59, referer: http://localhost:8001/setup/wizard.php
[Wed Nov 03 20:37:43.970462 2021] [php7:warn] [pid 582] [client 172.17.0.1:55214] PHP Warning:  Declaration of TeemIp\\TeemIp\\Extension\\IPv6Management\\Model\\_IPv6Address::GetName() should be compatible with DBObject::GetName($sType = Combodo\\iTop\\Core\\MetaModel\\FriendlyNameType::SHORT) in /var/www/html/env-production/teemip-ipv6-mgmt/src/Model/_IPv6Address.php on line 32, referer: http://localhost:8001/setup/wizard.php
[Wed Nov 03 20:37:47.592549 2021] [php7:warn] [pid 582] [client 172.17.0.1:55214] PHP Warning:  Declaration of TeemIp\\TeemIp\\Extension\\IPv6Management\\Model\\_IPv6Subnet::GetName() should be compatible with DBObject::GetName($sType = Combodo\\iTop\\Core\\MetaModel\\FriendlyNameType::SHORT) in /var/www/html/env-production/teemip-ipv6-mgmt/src/Model/_IPv6Subnet.php on line 59, referer: http://localhost:8001/setup/wizard.php
[Wed Nov 03 20:37:47.596176 2021] [php7:warn] [pid 582] [client 172.17.0.1:55214] PHP Warning:  Declaration of TeemIp\\TeemIp\\Extension\\IPv6Management\\Model\\_IPv6Address::GetName() should be compatible with DBObject::GetName($sType = Combodo\\iTop\\Core\\MetaModel\\FriendlyNameType::SHORT) in /var/www/html/env-production/teemip-ipv6-mgmt/src/Model/_IPv6Address.php on line 32, referer: http://localhost:8001/setup/wizard.php
[Wed Nov 03 20:37:47.726109 2021] [php7:notice] [pid 582] [client 172.17.0.1:55214] PHP Notice:  Uninitialized string offset: 0 in /var/www/html/setup/modulediscovery.class.inc.php(466) : eval()'d code on line 129, referer: http://localhost:8001/setup/wizard.php
xtophe38 commented 2 years ago

Hum, indeed, GetName prototype has changed... and, furthermore, will be final at DBObject level in 3.1 !! I need to find a workaround. Thanks for the heads up.

xtophe38 commented 2 years ago

Problem has been corrected with commit d0b0d12