fusioninventory-for-glpi icon indicating copy to clipboard operation
fusioninventory-for-glpi copied to clipboard

Use of undefined constant PLUGIN_FUSIONINVENTORY_VERSION

Open Uzzi opened this issue 4 years ago • 5 comments

Use of undefined constant PLUGIN_FUSIONINVENTORY_VERSION - assumed 'PLUGIN_FUSIONINVENTORY_VERSION' (this will throw an Error in a future version of PHP) in /var/www/glpi/plugins/fusioninventory/front/communication.php on line 72\n'

GLPI 9.5.1+Funsioninventory plugin 9.5.0+1.0 PHP 7.2

Uzzi avatar Aug 10 '20 12:08 Uzzi

Hello. I confirm this bug on glpi versions 9.5.4 and FI 3 after upgrade from FI 2.6

morevsky avatar Apr 12 '21 06:04 morevsky

Hi!

I confirm this in GLPI with 9.4.6+2.6

*** PHP Warning(2): Use of undefined constant PLUGIN_FUSIONINVENTORY_VERSION - assumed 'PLUGIN_FUSIONINVENTORY_VERSION' (this will throw an Error in a future version of PHP) Backtrace : inc/toolbox.class.php:700 plugins/fusioninventory/front/communication.php:73 Toolbox::userErrorHandlerDebug() plugins/fusioninventory/index.php:59 include_once(

image

phamorais avatar Jul 14 '21 22:07 phamorais

Hello! How to fix this problem ?

morevsky avatar Aug 23 '21 05:08 morevsky

Not have the problem in 9.5+3.0, can you confirm the bug on this version ?

ddurieux avatar Mar 30 '22 07:03 ddurieux

I see this with 9.5.0+3.0

[2022-10-28 10:57:31] glpiphplog.WARNING: *** PHP Warning (2): include_once(): Failed opening 'PLUGIN_FUSIONINVENTORY_DIR/front/communication.php' for inclusion (include_path='.:/usr/share/php') in /usr/share/glpi/plugins/fusioninventory/front/plugin_fusioninventory.communication.php at line 50 Backtrace : ...ont/plugin_fusioninventory.communication.php:50 include_once()

neoclust avatar Oct 28 '22 09:10 neoclust