You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since i've updated the dpo-register plugin with the 0.9.6 version on a 9.4.1.1 GLPI i keep having this PHP warning in debug mode :
PHP Warning: Declaration of PluginDporegisterProcessing::showActorsPartForm($ID, $options = Array) should be compatible with CommonITILObject::showActorsPartForm($ID, array $options) in /var/www/html/glpi/plugins/dporegister/inc/processing.class.php at line 0
I think this is just related to the declaration of $options in the processing.class.php file.
So, I just tried to replace it like this :
PluginDporegisterProcessing::showActorsPartForm($ID, Array $options)
instead of
PluginDporegisterProcessing::showActorsPartForm($ID, $options = Array)
It seems to correct the issue as the PHP warning is not displayed so i just wanted to share it with everyone.
Just to conclude, this issue didn't seem to block me with the dpo-register plugin but i think it's better when there are 0 warnings !
It could be nice if you could check this, maybe this issue only happens to me.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello,
Since i've updated the dpo-register plugin with the 0.9.6 version on a 9.4.1.1 GLPI i keep having this PHP warning in debug mode :
PHP Warning: Declaration of PluginDporegisterProcessing::showActorsPartForm($ID, $options = Array) should be compatible with CommonITILObject::showActorsPartForm($ID, array $options) in /var/www/html/glpi/plugins/dporegister/inc/processing.class.php at line 0
I think this is just related to the declaration of $options in the processing.class.php file.
So, I just tried to replace it like this :
PluginDporegisterProcessing::showActorsPartForm($ID, Array $options)
instead of
PluginDporegisterProcessing::showActorsPartForm($ID, $options = Array)
It seems to correct the issue as the PHP warning is not displayed so i just wanted to share it with everyone.
Just to conclude, this issue didn't seem to block me with the dpo-register plugin but i think it's better when there are 0 warnings !
It could be nice if you could check this, maybe this issue only happens to me.
Thanks.
The text was updated successfully, but these errors were encountered: