Thread "PHP7 - Warnings on command - setup/setup.php update"
Tabs
-
kinimodmeyer | kinimodmeyer | 10. Mar 2022, 08:55
Edited on: 10. Mar 2022, 08:57 - by kinimodmeyer | kinimodmeyerPHP7 - Warnings on command - setup/setup.php updatehello together,
i have the following warnings when i do a "php setup/setup.php update".
1. On step "Module- and Servicedefinitions are stored. Events are initialized.... i get several:- PHP Notice: Undefined offset: 9 in /var/.../ilias/Services/Calendar/classes/class.ilDateTime.php on line 430
2. On some plugin steps i get undefined variable "responsible", "responsible_mail"
Can someone give me some hints how i might fix them?- Update plugin language InteractiveVideoReference.... [OK]
- PHP Notice: Undefined variable: responsible in /var/.../ilias/Services/Component/classes/class.ilPluginAdmin.php on line 243
- PHP Notice: Undefined variable: responsible_mail in /var/.../ilias/Services/Component/classes/class.ilPluginAdmin.php on line 244
Thx! -
utesche | utesche | 16. Mar 2022, 12:30
Re: PHP7 - Warnings on command - setup/setup.php updateHi Dominik,
your "... update" command was performed without using option "--no-plugins" (see: https://github.com/ILIAS-eLearning/ILIAS/tree/release_7/setup#readme), so per default plugins are "updated" too. That's ok.
Obviously the plugin processed "after" plugin InteractiveVideoReference does not provide some mandatory informations in its file 'plugin.php':
- responsible and
- responsible_mail.
And this deficit is "detected" in ilPluginAdmin by issueing the two PHP notices...
Check for a valid 'plugin.php' of all present plugins to identify the troublemaker - and look for a better update of the plugin, or supply your own dummy entries therein to avoid the notices.
wbr,
Uwe