Closed Flobul closed 1 week ago
With composer packages in a plugin, installing dependencies causes object/array error:
Same error, when opening check package.
json_decode should be displayed as array, not object as surely intended. Next line is foreach ($datas['installed'] not foreach ($datas->installed
foreach ($datas['installed']
foreach ($datas->installed
Here is the fix.
Fixes #
haha, c'est bon ça j'ai fait la même PR à 1h près :D https://github.com/jeedom/core/pull/2701/files#
With composer packages in a plugin, installing dependencies causes object/array error:
Same error, when opening check package.
json_decode should be displayed as array, not object as surely intended. Next line is
foreach ($datas['installed']
notforeach ($datas->installed
Here is the fix.
Description
Suggested changelog entry
Related issues/external references
Fixes #
Types of changes
PR checklist