Magento2: Something went wrong while saving this configuration: Warning: array_keys() expects parameter 1 to be array, string given in /vendor/magento/module-config/Model/Config/Backend/Translate.php on line 35

Created on 8 Apr 2018  路  4Comments  路  Source: magento/magento2

Preconditions

1 . Magento 2.2.3
2 . PHP 7.1

  1. MysQL 5.7
  2. Apache 2.4

Steps to reproduce

  1. Installed fresh Magneto
  2. Data migration without errors or warning from 1.9.3.3

Expected result

  1. Save configuration without any error

Actual result

  1. [Screenshot, http://d.meat.no/DOwKYT]
  2. Something went wrong while saving this configuration: Warning: array_keys() expects parameter 1 to be array, string given in vendor/magento/module-config/Model/Config/Backend/Translate.php on line 35
Format is valid

Most helpful comment

@PhenomAmd in config_data table you should find the row that has this path

dev/translate_inline/invalid_caches

https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Config/Model/Config/Backend/Translate.php

All 4 comments

Was a row in core_config_data that had followed from Magento 1.9.3.3, I deleted it and is now working.

Have the same issue
http://prntscr.com/l0wdb2

excuse me but what line i mean some others arent that smart as you and we have same issue

@PhenomAmd in config_data table you should find the row that has this path

dev/translate_inline/invalid_caches

https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Config/Model/Config/Backend/Translate.php

Was this page helpful?
0 / 5 - 0 ratings