Closed (duplicate)
Project:
Display Suite
Version:
8.x-3.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 May 2018 at 09:27 UTC
Updated:
18 Sep 2018 at 23:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
JoshuaKissoon commentedI'm getting the same error with the Drupal Distribution. Error reference for persons searching:
Comment #3
JoshuaKissoon commentedSeems the issue is that an overridden method does not take the same parameters as the parent method.
Solution: Edit
modules/ds/src/Plugin/views/Entity/Render/TranslationLanguageRenderer.phpand change the function declaration:It needs to have the
$relationshipargument even if it's not being used.Comment #4
gyd commentedIt's maybe better to change function declaration of DefaultLanguageRenderer since EntityTranslationRendererBase does not include $relationship parameter
Comment #5
baikho commentedThis seems to be already fixed in the dev branch.
Comment #6
elijah lynnhttps://cgit.drupalcode.org/ds/commit/?h=8.x-3.x&id=7a1d9f8e25c1796ebc3f...
Comment #7
lois.chabrand commentedHello,
thanks for the patch, works like a charm for me.
Comment #8
renrhafThanks !