lyra / plugin-magento

An open source plugin that links Magento based e-commerce websites to PayZen secure payment gateway developed by Lyra Network.
https://lyra.com/fr/guides/magento/
Open Software License 3.0
10 stars 12 forks source link

Warning: Illegal string offset 'name' #2

Closed mokadev closed 6 years ago

mokadev commented 6 years ago

Bonjour

Quand on utilise la fonctionnalité d'import de la configuration locale via la commande : php bin/magento app:config:import

on a un Warning généré par cette ligne: https://github.com/payzen/plugin-magento/blob/e840b7d7b4bede42e90bedaef83183e945ef175b/Model/System/Config/Backend/Logo.php#L26

Import failed: Warning: Illegal string offset 'name' in app/code/Lyranetwork/Payzen/Model/System/Config/Backend/Logo.php on line 26

parce que $this->getValue() retourne une string et non un array

nabil509 commented 6 years ago

Bonjour,

Merci pour cette remontée. Je vais vérifier cela et corriger dans la 2.1.4 en cours de développement.

nabil509 commented 6 years ago

Issue fixed in version 2.1.4 in develop branch.