Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
1. Install Drupal 8.
2. Enable config_translation and add few languages.
3. Visit any config translation page(e.g. admin/config/system/site-information/translate/add/fr) and click add on any language.
It throws Fatal error: Cannot use string offset as an array in \htdocs\drupal-8\core\lib\Drupal\Core\Entity\EntityBCDecorator.php on line 124
Comment | File | Size | Author |
---|---|---|---|
#8 | d8-config-trans-error.png | 61.53 KB | Kristen Pol |
#4 | d8-simplytest-me-install-error.png | 290.16 KB | Kristen Pol |
#2 | 2019121-fatal-error-langcode-2.patch | 580 bytes | vijaycs85 |
Comments
Comment #1
vijaycs85Comment #2
vijaycs85Initial patch...
Comment #3
Gábor HojtsyThanks, committed! I did not recently have a chance to test the module, and the bot does not seem to be responding to our tests either. Does this make it work as well as possible now? :)
Comment #4
Kristen PolHmmm.... I tried the patch via simplytest.me and the install bombed out... I'm sure it's not related to this patch though.
Comment #5
Kristen PolHmm... tried again and it says:
Can't continue exploring at the moment though... :/
Comment #6
vijaycs85Not sure @Kristen Pol. Still we are fixing some issue with saving config for language specific. So it is possible this patch would break installation.
Comment #7
Gábor HojtsyNono, this was already committed.
Comment #8
Kristen PolYeah... I realized that moments ago... so... I tried running it locally (no patch) and get an error when saving the translation.
I'm marking active but... maybe it's just me?
Comment #9
Kristen PolLooked in the logs and this is the error:
Ah... but my settings are using a different config setting:
Maybe I've stumbled on a different error... I'll mark back to fixed until I see what's going on.
Comment #10
Gábor Hojtsylocale_storage() went away, vijaycs85 is working on that and some other things I think :) He may have another issue.
Comment #11
Kristen PolWow... I'm having no luck whatsoever on my end... I tried simplytest.me *without* the patch and still it bombs out... I'm assuming that is an issue with simplytest.me...
Then, I got rid of the:
setting on my local site and cleared my cache and now I'm not even seeing the translate tab... at all... config_translation *is* enabled... sigh. I'm thoroughly confused and guess I should just accept that it works for everyone else :)
Comment #12
Kristen PolAh... cross-posted... d.o was giving me grief... I see #10 now and will assume it's another issue entirely! :) Phew... at least I'm not going crazy (well....).
Comment #13
Gábor HojtsyThe locale_storage() issue is being resolved in #2020343: remove instance of locale_storage().