I've got multiple warnings in my log showing
Undefined index: changed in translation_views_views_data_alter() (Zeile 103 in ...../web/modules/contrib/translation_views/translation_views.views.inc
The error does not show up once the view is in cache though, only on the first, uncached hit.
Might be related to issue 2954035
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | translation_views_3001086_3.patch | 767 bytes | bala.addweb |
Comments
Comment #2
eveyrat commentedSame problem here.
Comment #3
matsbla commentedThanks for the feedback!
Are you both using the last dev version?
When did you last upgrade and when did you first experience this?
Comment #4
matsbla commentedAnd what php version are you using?
Comment #5
hudriI'm using 1.x-dev ba2245c on PHP 7.1.22
EDIT: Updated to latest dev version 3c0f060455d383b7c51650184fa876c584dfad6e and log messages are still coming in
Comment #6
matsbla commentedHmm okay, I tried to test now last version on a new fresh D8.6.1 installation, but I'm not able to reproduce it.
If we could get steps to reproduce that would be helpful!
Comment #7
hudriI also don't get this error on a blank installation, but I've got the messages on every of our production sites (Translation views installed later, with a dozen modules already in use). If it helps I could clone of those environments and give you access via PM
Comment #8
matsbla commentedCould you test to re-install the module?
Maybe the problem is you've installed it before #2954035, then upgraded to more recent version after it.
If that doesn't help I can take a look at your cloned environment.
Comment #9
hudriI think the errror messages are coming from Translation Views + Paragraphs combo:
The
paragraph_item_field_datatable has the columns content_translation_outdated, content_translation_source and default_langcode, but it has no column changed.Comment #10
bala.addweb commented@hudri, Please review my patch & Share your feedback on the same. Hope that you'll not face this warning after using this patch
Comment #11
hudriHey @nikunj.addweb,
thanks for the patch, works for me. I do not get any more error messages in the log.
Comment #12
hudriComment #13
matsbla commentedThanks for the info and patch!
I tested now with Paragraphs, but Im still not able to reproduce the warning.
Could you explain how you've configured the view or give steps to reproduce?
Comment #14
hudriHi @matsbla,
that's really strange, I could reproduce a quite isolated test case on simplytest.me
Maybe need to clear cache sometimes in between, but I did get error messages on Friday when doing this
Comment #16
matsbla commentedThanks for the steps, I managed to reproduce it. Thanks for helping fix this issue!